python.pkgs.pytest-fixture-config: fix build
This commit is contained in:
parent
7aa6131c8e
commit
d223d125d2
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, pytest, coverage, virtualenv, pytestcov, six }:
|
, setuptools-git, pytest, six }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-fixture-config";
|
pname = "pytest-fixture-config";
|
||||||
@ -10,11 +10,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08";
|
sha256 = "1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools-git ];
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ coverage virtualenv pytestcov six ];
|
|
||||||
|
checkInputs = [ six ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test -k "not test_yield_requires_config_doesnt_skip and not test_yield_requires_config_skips"
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user