diff options
author | Malo Bourgon <mbourgon@gmail.com> | 2022-06-15 19:14:17 -0700 |
---|---|---|
committer | Malo Bourgon <mbourgon@gmail.com> | 2022-06-16 19:19:55 -0700 |
commit | 0b06db69f50d1d0dace7566c3511225fb494ea50 (patch) | |
tree | a414c72745559cd902a853aa7675131fd9aea2ca /pkgs/development/libraries/wxSVG | |
parent | d304496834944199a1e33973007b144171eea493 (diff) |
wxSVG: unbreak on Darwin
Diffstat (limited to 'pkgs/development/libraries/wxSVG')
-rw-r--r-- | pkgs/development/libraries/wxSVG/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/libraries/wxSVG/default.nix b/pkgs/development/libraries/wxSVG/default.nix index 05a4655b800f7..a8c97bb5b49b9 100644 --- a/pkgs/development/libraries/wxSVG/default.nix +++ b/pkgs/development/libraries/wxSVG/default.nix @@ -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; }; } |