python.pkgs.pytest: add missing setuptools dependency

This commit is contained in:
Frederik Rietdijk 2017-11-11 16:23:47 +01:00
parent 209ee2f20f
commit 7c3c2a0dca

View File

@ -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; {