mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
30 lines
746 B
Nix
30 lines
746 B
Nix
{ lib, stdenv, fetchurl, pkg-config, gnum4, gnome3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libsigc++";
|
|
version = "2.10.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "00v08km4wwzbh6vjxb21388wb9dm6g2xh14rgwabnv4c2wk5z8n9";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config gnum4 ];
|
|
|
|
doCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
attrPath = "libsigcxx";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
|
|
description = "A typesafe callback system for standard C++";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|