Skip to content

Commit

Permalink
python3Packages.pydicom: add missing setuptools runtime dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdarwin committed Nov 29, 2021
1 parent fc9ee3b commit 958ceef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkgs/development/python-modules/pydicom/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytest-runner
, pythonOlder
, pytestCheckHook
, numpy
, pillow
, setuptools
}:

let
Expand All @@ -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}";
Expand All @@ -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.
Expand Down

0 comments on commit 958ceef

Please sign in to comment.