mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
847 B
Nix
34 lines
847 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 = "Typesafe callback system for standard C++";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|