mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
parent
808f05808b
commit
73a87b57a6
@ -3,7 +3,7 @@
|
||||
, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, shared-mime-info
|
||||
, python2Packages, libexif, gettext, xorg, glib-networking, libmypaint, gexiv2
|
||||
, harfbuzz, mypaint-brushes, libwebp, libheif, libgudev, openexr
|
||||
, AppKit, Cocoa, gtk-mac-integration }:
|
||||
, AppKit, Cocoa, gtk-mac-integration-gtk2, cf-private }:
|
||||
|
||||
let
|
||||
inherit (python2Packages) pygtk wrapPython python;
|
||||
@ -23,8 +23,11 @@ in stdenv.mkDerivation rec {
|
||||
freetype fontconfig lcms libpng libjpeg poppler poppler_data libtiff openexr
|
||||
libmng librsvg libwmf zlib libzip ghostscript aalib shared-mime-info libwebp libheif
|
||||
python pygtk libexif xorg.libXpm glib-networking libmypaint mypaint-brushes
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Cocoa gtk-mac-integration ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ libgudev ];
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
# cf-private is needed to get some things not in swift-corefoundation.
|
||||
# For instance _OBJC_CLASS_$_NSArray is missing.
|
||||
AppKit Cocoa gtk-mac-integration-gtk2 cf-private
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [ libgudev ];
|
||||
|
||||
pythonPath = [ pygtk ];
|
||||
|
||||
@ -69,7 +72,9 @@ in stdenv.mkDerivation rec {
|
||||
"--with-icc-directory=/var/run/current-system/sw/share/color/icc"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
# on Darwin,
|
||||
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -17050,6 +17050,7 @@ with pkgs;
|
||||
lcms = lcms2;
|
||||
inherit (gnome3) gexiv2;
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa;
|
||||
inherit (darwin) cf-private;
|
||||
};
|
||||
|
||||
gimp-with-plugins = callPackage ../applications/graphics/gimp/wrapper.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user