tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
cairomm: fix on darwin
Vincent Laporte
9 years ago
b4b244de
8512747c
+6
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
cairomm
default.nix
+6
-3
pkgs/development/libraries/cairomm/default.nix
···
1
1
-
{ fetchurl, stdenv, pkgconfig, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }:
1
1
+
{ fetchurl, stdenv, pkgconfig, darwin, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }:
2
2
let
3
3
ver_maj = "1.12";
4
4
ver_min = "0";
···
13
13
14
14
nativeBuildInputs = [ pkgconfig ];
15
15
propagatedBuildInputs = [ cairo libsigcxx ];
16
16
-
buildInputs = [ fontconfig freetype ];
16
16
+
buildInputs = [ fontconfig freetype ]
17
17
+
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
18
18
+
ApplicationServices
19
19
+
]);
17
20
18
21
doCheck = true;
19
22
···
35
38
homepage = http://cairographics.org/;
36
39
37
40
license = with licenses; [ lgpl2Plus mpl10 ];
38
38
-
platforms = platforms.linux;
41
41
+
platforms = platforms.unix;
39
42
};
40
43
}