3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pydicom: init at 1.3.0

This commit is contained in:
Ben Darwin 2020-01-16 13:58:51 -05:00 committed by Jon
parent cd99b82d8a
commit 046730ebdb
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestrunner
, numpy
, pillow
}:
buildPythonPackage rec {
version = "1.3.0";
pname = "pydicom";
src = fetchPypi {
inherit pname version;
sha256 = "1j11lsykqbnw9d6gzgj6kfn6lawvm5d9azd9palj3l1xhj0hlnsq";
};
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 ];
};
}

View file

@ -1040,6 +1040,8 @@ in {
pydbus = callPackage ../development/python-modules/pydbus { };
pydicom = callPackage ../development/python-modules/pydicom { };
pydocstyle =
if isPy27 then
callPackage ../development/python-modules/pydocstyle/2.nix { }