2020-01-16 19:58:51 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pytestrunner
|
|
|
|
, numpy
|
|
|
|
, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-01-27 17:18:29 +01:00
|
|
|
version = "1.4.1";
|
2020-01-16 19:58:51 +01:00
|
|
|
pname = "pydicom";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-01-27 17:18:29 +01:00
|
|
|
sha256 = "0ki4736h6mp77733rsrwicl8pyig39idywzcmwvw3nzi2r1yc7w8";
|
2020-01-16 19:58:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy pillow ];
|
|
|
|
checkInputs = [ pytest pytestrunner ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://pydicom.github.io;
|
|
|
|
description = "Pure-Python package for working with DICOM files";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|