forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / libraries / libsigcxx / default.nix
blob7e2746fb7f4c67a73262837dc7d555ba07e9e942
1 { lib, stdenv, fetchurl, pkg-config, meson, ninja, gnome }:
3 stdenv.mkDerivation rec {
4   pname = "libsigc++";
5   version = "2.12.1";
7   src = fetchurl {
8     url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9     sha256 = "sha256-qdvuMjNR0Qm3ruB0qcuJyj57z4rY7e8YUfTPNZvVCEM=";
10   };
12   outputs = [ "out" "dev" ];
14   nativeBuildInputs = [ pkg-config meson ninja ];
16   doCheck = true;
18   passthru = {
19     updateScript = gnome.updateScript {
20       packageName = pname;
21       attrPath = "libsigcxx";
22       versionPolicy = "odd-unstable";
23       freeze = "2.99.1";
24     };
25   };
27   meta = with lib; {
28     homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
29     description = "Typesafe callback system for standard C++";
30     license = licenses.lgpl21Plus;
31     platforms = platforms.all;
32   };