depot/third_party/nixpkgs/pkgs/applications/science/medicine/dcmtk/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

35 lines
1.3 KiB
Nix

{ lib, stdenv, fetchFromGitHub, zlib, libtiff, libxml2, openssl, libiconv
, libpng, cmake, fetchpatch }:
with lib;
stdenv.mkDerivation rec {
pname = "dcmtk";
version = "3.6.8";
src = fetchFromGitHub {
owner = "DCMTK";
repo = pname;
rev = "DCMTK-${version}";
hash = "sha256-PQR9+xSlfBvogv0p6AL/yapelJpsYteA4T4lPkOIfLc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libpng zlib libtiff libxml2 openssl libiconv ];
doCheck = true;
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 = with platforms; linux ++ darwin;
};
}