python3Packages.pydicom: 2.1.2 -> 2.2.2

main
Fabian Affolter 2 years ago committed by Jonathan Ringer
parent d3b16c683f
commit d0fa878dad
  1. 20
      pkgs/development/python-modules/pydicom/default.nix

@ -11,13 +11,13 @@
let
pname = "pydicom";
version = "2.1.2";
version = "2.2.2";
src = fetchFromGitHub {
owner = "${pname}";
repo = "${pname}";
rev = "v${version}";
sha256 = "sha256-iExy+mUs1uqs/u9N6btlqyP6/TvoPVsuOuzs56zZAS8=";
sha256 = "sha256-p5hJAUsactv6UEvbVaF+zk4iapx98eYkC9Zo+lzFATA=";
};
# Pydicom needs pydicom-data to run some tests. If these files aren't downloaded
@ -34,9 +34,15 @@ buildPythonPackage {
inherit pname version src;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [ numpy pillow setuptools ];
propagatedBuildInputs = [
numpy
pillow
setuptools
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
# Setting $HOME to prevent pytest to try to create a folder inside
# /homeless-shelter which is read-only.
@ -58,9 +64,13 @@ buildPythonPackage {
"test_time_check"
];
pythonImportsCheck = [
"pydicom"
];
meta = with lib; {
description = "Python package for working with DICOM files";
homepage = "https://pydicom.github.io";
description = "Pure-Python package for working with DICOM files";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};

Loading…
Cancel
Save