mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
wxSVG: unbreak on Darwin
This commit is contained in:
parent
d304496834
commit
0b06db69f5
@ -7,6 +7,8 @@
|
|||||||
, pango
|
, pango
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, wxGTK
|
, wxGTK
|
||||||
|
# darwin deps
|
||||||
|
, Cocoa
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -28,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
libexif
|
libexif
|
||||||
pango
|
pango
|
||||||
wxGTK
|
wxGTK
|
||||||
];
|
] ++ lib.optional stdenv.isDarwin Cocoa;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://wxsvg.sourceforge.net/";
|
homepage = "http://wxsvg.sourceforge.net/";
|
||||||
@ -37,9 +39,8 @@ stdenv.mkDerivation rec {
|
|||||||
wxSVG is C++ library to create, manipulate and render Scalable Vector
|
wxSVG is C++ library to create, manipulate and render Scalable Vector
|
||||||
Graphics (SVG) files with the wxWidgets toolkit.
|
Graphics (SVG) files with the wxWidgets toolkit.
|
||||||
'';
|
'';
|
||||||
license = with licenses; gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = [ maintainers.AndersonTorres ];
|
||||||
platforms = wxGTK.meta.platforms;
|
inherit (wxGTK.meta) platforms;
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -21231,6 +21231,7 @@ with pkgs;
|
|||||||
|
|
||||||
wxSVG = callPackage ../development/libraries/wxSVG {
|
wxSVG = callPackage ../development/libraries/wxSVG {
|
||||||
wxGTK = wxGTK30-gtk3;
|
wxGTK = wxGTK30-gtk3;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
wtk = callPackage ../development/libraries/wtk { };
|
wtk = callPackage ../development/libraries/wtk { };
|
||||||
|
Loading…
Reference in New Issue
Block a user