8b13023a0a
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/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcm2vtk -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcm2vtk --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmviewer -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmviewer --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmviewer help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmdump -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmdump --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmraw -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmraw --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmscanner -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmscanner --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmanon -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmanon --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmgendir -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmgendir --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmimg -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmimg --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmconv -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmconv --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmtar -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmtar --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcminfo -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcminfo --help’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmpap3 -h’ got 0 exit code - ran ‘/nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6/bin/gdcmpap3 --help’ got 0 exit code - found 2.8.6 with grep in /nix/store/6926apx6cz7dqak9i3mr8w3ccrvbkfpr-gdcm-2.8.6 - directory tree listing: https://gist.github.com/1accba5fab1e337154f40e3d49e54b54
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{ stdenv, fetchurl, cmake, vtk }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.8.6";
|
|
name = "gdcm-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gdcm/${name}.tar.bz2";
|
|
sha256 = "07q7w2qvpknvncp3g6m5f6b3m1ld4pzns52bqah8da7pabgwspjy";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|
|
|