about summary refs log tree commit diff
path: root/pkgs/development/libraries/wxSVG
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-06-15 19:14:17 -0700
committerMalo Bourgon <mbourgon@gmail.com>2022-06-16 19:19:55 -0700
commit0b06db69f50d1d0dace7566c3511225fb494ea50 (patch)
treea414c72745559cd902a853aa7675131fd9aea2ca /pkgs/development/libraries/wxSVG
parentd304496834944199a1e33973007b144171eea493 (diff)
wxSVG: unbreak on Darwin
Diffstat (limited to 'pkgs/development/libraries/wxSVG')
-rw-r--r--pkgs/development/libraries/wxSVG/default.nix11
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;
   };
 }