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 { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py
, setuptools_scm , setuptools_scm, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.2.3"; version = "3.2.3";
pname = "pytest"; pname = "pytest";
name = "${pname}-${version}";
preCheck = '' preCheck = ''
# don't test bash builtins # don't test bash builtins
@ -16,8 +15,9 @@ buildPythonPackage rec {
sha256 = "27fa6617efc2869d3e969a3e75ec060375bfb28831ade8b5cdd68da3a741dc3c"; sha256 = "27fa6617efc2869d3e969a3e75ec060375bfb28831ade8b5cdd68da3a741dc3c";
}; };
buildInputs = [ hypothesis setuptools_scm ]; checkInputs = [ hypothesis ];
propagatedBuildInputs = [ py ] buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ py setuptools ]
++ (stdenv.lib.optional isPy26 argparse); ++ (stdenv.lib.optional isPy26 argparse);
meta = with stdenv.lib; { meta = with stdenv.lib; {