Files
nixpkgs/pkgs/development/libraries/cairomm/default.nix
T
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

60 lines
907 B
Nix

{
fetchurl,
stdenv,
lib,
pkg-config,
boost,
cairo,
fontconfig,
libsigcxx,
meson,
ninja,
}:
stdenv.mkDerivation rec {
pname = "cairomm";
version = "1.14.5";
outputs = [
"out"
"dev"
];
src = fetchurl {
url = "https://www.cairographics.org/releases/cairomm-${version}.tar.xz";
sha256 = "cBNiA1QMiE6Jzhye37Y2m5lTk39s1ZbZfHjJdYpdSNs=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
boost # for tests
fontconfig
];
propagatedBuildInputs = [
cairo
libsigcxx
];
mesonFlags = [
"-Dbuild-tests=true"
];
doCheck = !stdenv.hostPlatform.isDarwin;
meta = {
description = "C++ bindings for the Cairo vector graphics library";
homepage = "https://www.cairographics.org/";
license = with lib.licenses; [
lgpl2Plus
mpl10
];
platforms = lib.platforms.unix;
};
}