nixpkgs-suyu/pkgs/development/libraries/libsigcxx/3.0.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

42 lines
847 B
Nix

{ stdenv
, lib
, fetchurl
, pkg-config
, meson
, ninja
, gnome
}:
stdenv.mkDerivation rec {
pname = "libsigc++";
version = "3.0.6";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "tw7c9GEWUcVKQm4QmxcZbh+hfaCQWSpQAOLRNMA6xc4=";
};
nativeBuildInputs = [
pkg-config
meson
ninja
];
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
attrPath = "libsigcxx30";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
description = "A typesafe callback system for standard C++";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.all;
};
}