Loading pkgs/development/libraries/vtk/generic.nix +19 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ newScope, stdenv, fetchurl, fetchFromGitHub, cmake, pkg-config, Loading Loading @@ -46,6 +47,7 @@ libgeotiff, laszip_2, gdal, gdcm, pdal, alembic, imath, Loading Loading @@ -136,6 +138,19 @@ stdenv.mkDerivation (finalAttrs: { hash = sourceSha256; }; postPatch = let vtk-dicom = fetchFromGitHub { owner = "dgobbi"; repo = "vtk-dicom"; tag = "v0.8.17"; hash = "sha256-1lI2qsV4gymWqjeouEHZ5FRlmlh9vimH7J5rzA+eOds="; }; in '' cp --no-preserve=mode -r ${vtk-dicom} ./Remote/vtkDICOM ''; nativeBuildInputs = [ cmake pkg-config # required for finding MySQl Loading @@ -153,6 +168,7 @@ stdenv.mkDerivation (finalAttrs: { libgeotiff laszip_2 gdal (gdcm.override { enableVTK = false; }) pdal alembic imath Loading Loading @@ -289,6 +305,9 @@ stdenv.mkDerivation (finalAttrs: { # mpiSupport (lib.cmakeBool "VTK_USE_MPI" mpiSupport) (vtkBool "VTK_GROUP_ENABLE_MPI" mpiSupport) # Remote module options (lib.cmakeBool "USE_GDCM" true) # for vtkDicom ]; pythonImportsCheck = [ "vtk" ]; Loading Loading
pkgs/development/libraries/vtk/generic.nix +19 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ newScope, stdenv, fetchurl, fetchFromGitHub, cmake, pkg-config, Loading Loading @@ -46,6 +47,7 @@ libgeotiff, laszip_2, gdal, gdcm, pdal, alembic, imath, Loading Loading @@ -136,6 +138,19 @@ stdenv.mkDerivation (finalAttrs: { hash = sourceSha256; }; postPatch = let vtk-dicom = fetchFromGitHub { owner = "dgobbi"; repo = "vtk-dicom"; tag = "v0.8.17"; hash = "sha256-1lI2qsV4gymWqjeouEHZ5FRlmlh9vimH7J5rzA+eOds="; }; in '' cp --no-preserve=mode -r ${vtk-dicom} ./Remote/vtkDICOM ''; nativeBuildInputs = [ cmake pkg-config # required for finding MySQl Loading @@ -153,6 +168,7 @@ stdenv.mkDerivation (finalAttrs: { libgeotiff laszip_2 gdal (gdcm.override { enableVTK = false; }) pdal alembic imath Loading Loading @@ -289,6 +305,9 @@ stdenv.mkDerivation (finalAttrs: { # mpiSupport (lib.cmakeBool "VTK_USE_MPI" mpiSupport) (vtkBool "VTK_GROUP_ENABLE_MPI" mpiSupport) # Remote module options (lib.cmakeBool "USE_GDCM" true) # for vtkDicom ]; pythonImportsCheck = [ "vtk" ]; Loading