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

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++";
2021-10-14 21:34:59 +00:00
version = "2.10.7";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-10-14 21:34:59 +00:00
sha256 = "sha256-0IKiznLHUPZrGkFavj6FLfLq4eivUwEPSsLqJhpHiDI=";
};
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;
};
}