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

29 lines
590 B
Nix
Raw Normal View History

2020-01-16 18:58:51 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestrunner
, numpy
, pillow
}:
buildPythonPackage rec {
version = "1.4.2";
2020-01-16 18:58:51 +00:00
pname = "pydicom";
src = fetchPypi {
inherit pname version;
sha256 = "1483hv74fhfk4q18r4rda7yixqqdxrd1djzp3492s81ykxd4k24l";
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 ];
};
}