nixpkgs/pkgs/development/libraries/libsigcxx/default.nix
Bobby Rong 093443ab69
Merge pull request #260125 from trofi/libsigcxx-dev
libsigcxx, libsigcxx30: add "dev" output
2023-11-22 21:30:29 +08:00

33 lines
849 B
Nix

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