mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
python3Packages.pydicom: add missing setuptools runtime dependency
This commit is contained in:
parent
fc9ee3bc0b
commit
958ceefb3e
@ -2,11 +2,11 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, pytest-runner
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, pillow
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
let
|
||||
@ -20,7 +20,7 @@ let
|
||||
sha256 = "sha256-iExy+mUs1uqs/u9N6btlqyP6/TvoPVsuOuzs56zZAS8=";
|
||||
};
|
||||
|
||||
# Pydicom needs pydicom-data to run some tests. If these files are downloaded
|
||||
# Pydicom needs pydicom-data to run some tests. If these files aren't downloaded
|
||||
# before the package creation, it'll try to download during the checkPhase.
|
||||
test_data = fetchFromGitHub {
|
||||
owner = "${pname}";
|
||||
@ -32,11 +32,11 @@ let
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version src;
|
||||
disabled = isPy27;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
propagatedBuildInputs = [ numpy pillow ];
|
||||
propagatedBuildInputs = [ numpy pillow setuptools ];
|
||||
|
||||
checkInputs = [ pytest-runner pytestCheckHook ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
# Setting $HOME to prevent pytest to try to create a folder inside
|
||||
# /homeless-shelter which is read-only.
|
||||
|
Loading…
Reference in New Issue
Block a user