Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

49 lines
892 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/libsigc++/${lib.versions.majorMinor version}/libsigc++-${version}.tar.xz";
sha256 = "sha256-qdvuMjNR0Qm3ruB0qcuJyj57z4rY7e8YUfTPNZvVCEM=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [
pkg-config
meson
ninja
];
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "libsigc++";
attrPath = "libsigcxx";
versionPolicy = "odd-unstable";
freeze = "2.99.1";
};
};
meta = {
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
description = "Typesafe callback system for standard C++";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.all;
};
}