3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pydicom/default.nix

29 lines
602 B
Nix
Raw Normal View History

2020-01-16 18:58:51 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestrunner
, numpy
, pillow
}:
buildPythonPackage rec {
2020-06-06 07:47:24 +01:00
version = "2.0.0";
2020-01-16 18:58:51 +00:00
pname = "pydicom";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:24 +01:00
sha256 = "594c91f715c415ef439f498351ae68fb770c776fc5aa72f3c87eb500dc2a7470";
2020-01-16 18:58:51 +00:00
};
propagatedBuildInputs = [ numpy pillow ];
checkInputs = [ pytest pytestrunner ];
meta = with stdenv.lib; {
homepage = "https://pydicom.github.io";
2020-01-16 18:58:51 +00:00
description = "Pure-Python package for working with DICOM files";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}