python.pkgs.pytest-fixture-config: fix build

This commit is contained in:
Robert Schütz 2018-04-07 14:51:26 +02:00 committed by Frederik Rietdijk
parent 7aa6131c8e
commit d223d125d2

View File

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, coverage, virtualenv, pytestcov, six }:
, setuptools-git, pytest, six }:
buildPythonPackage rec {
pname = "pytest-fixture-config";
@ -10,11 +10,14 @@ buildPythonPackage rec {
sha256 = "1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08";
};
nativeBuildInputs = [ setuptools-git ];
buildInputs = [ pytest ];
propagatedBuildInputs = [ coverage virtualenv pytestcov six ];
checkInputs = [ six ];
checkPhase = ''
py.test -k "not test_yield_requires_config_doesnt_skip and not test_yield_requires_config_skips"
py.test
'';
meta = with stdenv.lib; {