Merge pull request #228280 from wegank/gdcm-darwin

gdcm: fix build on darwin
This commit is contained in:
Weijia Wang 2023-04-26 10:59:46 +03:00 committed by GitHub
commit f9abbef150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
};
}