aa753ed896
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gdcm/versions. These checks were done: - built on NixOS - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcm2vtk -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcm2vtk --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcm2vtk -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcm2vtk --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcm2vtk -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcm2vtk --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmviewer help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmdump -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmdump --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmdump -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmdump --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmdump -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmdump --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmraw -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmraw --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmraw -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmraw --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmraw -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmraw --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscanner -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscanner --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscanner -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscanner --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscanner -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscanner --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmanon -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmanon --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmanon -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmanon --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmanon -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmanon --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmgendir -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmgendir --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmgendir -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmgendir --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmgendir -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmgendir --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmimg -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmimg --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmimg -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmimg --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmimg -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmimg --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmconv -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmconv --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmconv -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmconv --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmconv -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmconv --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmtar -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmtar --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmtar -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmtar --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmtar -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmtar --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcminfo -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcminfo --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcminfo -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcminfo --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcminfo -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcminfo --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscu -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscu --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscu -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscu --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscu -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmscu --help` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmpap3 -h` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmpap3 --help` got 0 exit code - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmpap3 -v` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmpap3 --version` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmpap3 -h` and found version 2.8.5 - ran `/nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5/bin/gdcmpap3 --help` and found version 2.8.5 - found 2.8.5 with grep in /nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5 - found 2.8.5 in filename of file in /nix/store/ad2zv13plf5b02jqmbfamm9rj4nbf8ff-gdcm-2.8.5 - directory tree listing: https://gist.github.com/394151986c20ad18aa843271bc40a48f
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ stdenv, fetchurl, cmake, vtk }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.8.5";
|
|
name = "gdcm-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gdcm/${name}.tar.bz2";
|
|
sha256 = "0aiwmxwa67zsb2sbadf8r2p9018qhc8gycb04kfrsf7rskz3x2h5";
|
|
};
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
preConfigure = ''
|
|
cmakeDir=$PWD
|
|
mkdir ../build
|
|
cd ../build
|
|
'';
|
|
|
|
cmakeFlags = ''
|
|
-DGDCM_BUILD_APPLICATIONS=ON
|
|
-DGDCM_BUILD_SHARED_LIBS=ON
|
|
-DGDCM_USE_VTK=ON
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
buildInputs = [ cmake vtk ];
|
|
propagatedBuildInputs = [ ];
|
|
|
|
meta = {
|
|
description = "The grassroots cross-platform DICOM implementation";
|
|
longDescription = ''
|
|
Grassroots DICOM (GDCM) is an implementation of the DICOM standard designed to be open source so that researchers may access clinical data directly.
|
|
GDCM includes a file format definition and a network communications protocol, both of which should be extended to provide a full set of tools for a researcher or small medical imaging vendor to interface with an existing medical database.
|
|
'';
|
|
homepage = http://gdcm.sourceforge.net/;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|
|
|