summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-11-11 16:23:47 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-11-23 15:11:03 +0100
commit7c3c2a0dcabf21478d4f895fd4aef6a9606d3835 (patch)
treee2efb2757440c40413628acb38c81c2d86c8d549 /pkgs/development/python-modules/pytest
parent209ee2f20f10bd9cd895b7e2df5161c163233365 (diff)
downloadnixlib-7c3c2a0dcabf21478d4f895fd4aef6a9606d3835.tar
nixlib-7c3c2a0dcabf21478d4f895fd4aef6a9606d3835.tar.gz
nixlib-7c3c2a0dcabf21478d4f895fd4aef6a9606d3835.tar.bz2
nixlib-7c3c2a0dcabf21478d4f895fd4aef6a9606d3835.tar.lz
nixlib-7c3c2a0dcabf21478d4f895fd4aef6a9606d3835.tar.xz
nixlib-7c3c2a0dcabf21478d4f895fd4aef6a9606d3835.tar.zst
nixlib-7c3c2a0dcabf21478d4f895fd4aef6a9606d3835.zip
python.pkgs.pytest: add missing setuptools dependency
Diffstat (limited to 'pkgs/development/python-modules/pytest')
-rw-r--r--pkgs/development/python-modules/pytest/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix
index 42a591e58b64..465d63d632f6 100644
--- a/pkgs/development/python-modules/pytest/default.nix
+++ b/pkgs/development/python-modules/pytest/default.nix
@@ -1,10 +1,9 @@
 { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py
-, setuptools_scm
+, setuptools_scm, setuptools
 }:
 buildPythonPackage rec {
   version = "3.2.3";
   pname = "pytest";
-  name = "${pname}-${version}";
 
   preCheck = ''
     # don't test bash builtins
@@ -16,8 +15,9 @@ buildPythonPackage rec {
     sha256 = "27fa6617efc2869d3e969a3e75ec060375bfb28831ade8b5cdd68da3a741dc3c";
   };
 
-  buildInputs = [ hypothesis setuptools_scm ];
-  propagatedBuildInputs = [ py ]
+  checkInputs = [ hypothesis ];
+  buildInputs = [ setuptools_scm ];
+  propagatedBuildInputs = [ py setuptools ]
     ++ (stdenv.lib.optional isPy26 argparse);
 
   meta = with stdenv.lib; {