cairomm: 1.14.3 → 1.14.4
https://gitlab.freedesktop.org/cairo/cairomm/-/compare/1.14.3...1.14.4 Also format the expression.
This commit is contained in:
parent
b24c216b9f
commit
0a76ece12c
1 changed files with 33 additions and 13 deletions
|
@ -1,25 +1,45 @@
|
||||||
{ fetchurl, lib, stdenv, pkg-config, darwin, cairo, fontconfig, freetype, libsigcxx, meson, ninja }:
|
{ fetchurl
|
||||||
|
, stdenv
|
||||||
|
, lib
|
||||||
|
, pkg-config
|
||||||
|
, darwin
|
||||||
|
, cairo
|
||||||
|
, fontconfig
|
||||||
|
, freetype
|
||||||
|
, libsigcxx
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cairomm";
|
pname = "cairomm";
|
||||||
version = "1.14.3";
|
version = "1.14.4";
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://www.cairographics.org/releases/${pname}-${version}.tar.xz";
|
|
||||||
# gnome doesn't have the latest version ATM; beware: same name but different hash
|
|
||||||
#url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
||||||
sha256 = "sha256-DTfgZ8XEyngIt87dq/4ZMsW9KnUK1k+zIeEhNTYpfng=";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config meson ninja ];
|
src = fetchurl {
|
||||||
propagatedBuildInputs = [ cairo libsigcxx ];
|
url = "https://www.cairographics.org/releases/cairomm-${version}.tar.xz";
|
||||||
buildInputs = [ fontconfig freetype ]
|
sha256 = "R0nSWisu9nzAwBTKr1yH+kZ5L8Sz7eGG+w/JMtIFUVg=";
|
||||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||||
ApplicationServices
|
ApplicationServices
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cairo
|
||||||
|
libsigcxx
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue