nixpkgs/pkgs/development/libraries/libsigcxx/default.nix

31 lines
794 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, meson, ninja, gnome }:
2018-12-25 16:29:16 +01:00
stdenv.mkDerivation rec {
2018-12-25 16:29:16 +01:00
pname = "libsigc++";
version = "2.10.6";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-3aF23EaBvanVoqwbxVJzvdOBZit6bUnpGCZ9E+h3Ths=";
};
nativeBuildInputs = [ pkg-config meson ninja ];
doCheck = true;
2018-12-25 16:29:16 +01:00
passthru = {
updateScript = gnome.updateScript {
2018-12-25 16:29:16 +01:00
packageName = pname;
attrPath = "libsigcxx";
versionPolicy = "odd-unstable";
2018-12-25 16:29:16 +01:00
};
};
meta = with lib; {
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
description = "A typesafe callback system for standard C++";
license = licenses.lgpl21Plus;
platforms = platforms.all;
};
}