From 905245b32ce8d3901f730c72854734a7e75e5347 Mon Sep 17 00:00:00 2001 From: Markus Ankenbrand Date: Fri, 25 Oct 2019 19:21:34 +0200 Subject: [PATCH] dcmtk: init at 3.6.4 --- .../science/medicine/dcmtk/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/applications/science/medicine/dcmtk/default.nix diff --git a/pkgs/applications/science/medicine/dcmtk/default.nix b/pkgs/applications/science/medicine/dcmtk/default.nix new file mode 100644 index 00000000000..7c269063b91 --- /dev/null +++ b/pkgs/applications/science/medicine/dcmtk/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, zlib, libtiff, libxml2, openssl, libiconv, libpng, cmake }: + +with stdenv.lib; +stdenv.mkDerivation rec { + pname = "dcmtk"; + version = "3.6.4"; + src = fetchFromGitHub { + owner = "DCMTK"; + repo = pname; + rev = "DCMTK-${version}"; + sha256 = "0fbx35zax8n4gayaac5bankqwzg2y2adggykbbf8lpd773jfxsp6"; + }; + + 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 ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 171d17113ba..b1a719439de 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23469,6 +23469,8 @@ in aliza = callPackage ../applications/science/medicine/aliza { }; + dcmtk = callPackage ../applications/science/medicine/dcmtk { }; + ### PHYSICS sacrifice = callPackage ../applications/science/physics/sacrifice {};