wxSVG: unbreak on Darwin

This commit is contained in:
Malo Bourgon 2022-06-15 19:14:17 -07:00
parent d304496834
commit 0b06db69f5
2 changed files with 7 additions and 5 deletions

View file

@ -7,6 +7,8 @@
, pango
, pkg-config
, wxGTK
# darwin deps
, Cocoa
}:
stdenv.mkDerivation rec {
@ -28,7 +30,7 @@ stdenv.mkDerivation rec {
libexif
pango
wxGTK
];
] ++ lib.optional stdenv.isDarwin Cocoa;
meta = with lib; {
homepage = "http://wxsvg.sourceforge.net/";
@ -37,9 +39,8 @@ stdenv.mkDerivation rec {
wxSVG is C++ library to create, manipulate and render Scalable Vector
Graphics (SVG) files with the wxWidgets toolkit.
'';
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = wxGTK.meta.platforms;
broken = stdenv.isDarwin;
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
inherit (wxGTK.meta) platforms;
};
}

View file

@ -21231,6 +21231,7 @@ with pkgs;
wxSVG = callPackage ../development/libraries/wxSVG {
wxGTK = wxGTK30-gtk3;
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
wtk = callPackage ../development/libraries/wtk { };