gdcm: fix build on darwin

This commit is contained in:
Weijia Wang 2023-04-26 10:07:20 +03:00
parent 60a494b481
commit 28c6334afb

View File

@ -6,6 +6,7 @@
, vtk
, ApplicationServices
, Cocoa
, libiconv
, enablePython ? false
, python ? null
, swig
@ -43,6 +44,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals stdenv.isDarwin [
ApplicationServices
Cocoa
libiconv
] ++ lib.optionals enablePython [ swig python ];
meta = with lib; {
@ -54,5 +56,6 @@ stdenv.mkDerivation rec {
homepage = "https://gdcm.sourceforge.net/";
license = with licenses; [ bsd3 asl20 ];
maintainers = with maintainers; [ tfmoraes ];
platforms = platforms.all;
};
}