mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
cairomm: fix on darwin
This commit is contained in:
parent
8512747ca5
commit
b4b244de2a
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }:
|
{ fetchurl, stdenv, pkgconfig, darwin, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }:
|
||||||
let
|
let
|
||||||
ver_maj = "1.12";
|
ver_maj = "1.12";
|
||||||
ver_min = "0";
|
ver_min = "0";
|
||||||
@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
propagatedBuildInputs = [ cairo libsigcxx ];
|
propagatedBuildInputs = [ cairo libsigcxx ];
|
||||||
buildInputs = [ fontconfig freetype ];
|
buildInputs = [ fontconfig freetype ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||||
|
ApplicationServices
|
||||||
|
]);
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
@ -35,6 +38,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://cairographics.org/;
|
homepage = http://cairographics.org/;
|
||||||
|
|
||||||
license = with licenses; [ lgpl2Plus mpl10 ];
|
license = with licenses; [ lgpl2Plus mpl10 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user