python3Packages.pydicom: 2.1.2 -> 2.2.2
This commit is contained in:
parent
d3b16c683f
commit
d0fa878dad
@ -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…
Reference in New Issue
Block a user