2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib, libtiff, libxml2, openssl, libiconv, libpng, cmake }:
|
2019-10-25 18:21:34 +01:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
with lib;
|
2019-10-25 18:21:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dcmtk";
|
2021-01-29 16:43:50 +00:00
|
|
|
version = "3.6.6";
|
2019-10-25 18:21:34 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DCMTK";
|
|
|
|
repo = pname;
|
|
|
|
rev = "DCMTK-${version}";
|
2021-01-29 16:43:50 +00:00
|
|
|
sha256 = "sha256-bpvf2JJXikV/CqmXZb3w4Ua3VBEQcQk7PXw9ie0t8xo=";
|
2019-10-25 18:21:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libpng zlib libtiff libxml2 openssl libiconv ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Collection of libraries and applications implementing large parts of the DICOM standard";
|
|
|
|
longDescription = ''
|
|
|
|
DCMTK is a collection of libraries and applications implementing large parts of the DICOM standard.
|
|
|
|
It includes software for examining, constructing and converting DICOM image files, handling offline media,
|
|
|
|
sending and receiving images over a network connection, as well as demonstrative image storage and worklist servers.
|
|
|
|
DCMTK is is written in a mixture of ANSI C and C++.
|
|
|
|
It comes in complete source code and is made available as "open source" software.
|
|
|
|
'';
|
|
|
|
homepage = "https://dicom.offis.de/dcmtk";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ iimog ];
|
2021-08-28 07:00:18 +01:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2019-10-25 18:21:34 +01:00
|
|
|
};
|
|
|
|
}
|