2023-01-20 10:41:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib, libtiff, libxml2, openssl, libiconv
|
2024-06-05 15:53:02 +00:00
|
|
|
, libpng, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dcmtk";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "3.6.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DCMTK";
|
|
|
|
repo = pname;
|
|
|
|
rev = "DCMTK-${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-PQR9+xSlfBvogv0p6AL/yapelJpsYteA4T4lPkOIfLc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libpng zlib libtiff libxml2 openssl libiconv ];
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2023-01-20 10:41:00 +00:00
|
|
|
description =
|
|
|
|
"Collection of libraries and applications implementing large parts of the DICOM standard";
|
2020-04-24 23:36:52 +00:00
|
|
|
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-09-18 10:52:07 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|