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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
815 B
Nix
Raw Normal View History

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