python.pkgs.pytest_xdist: add filelock to checkInputs

This commit is contained in:
Robert Schütz 2018-11-04 16:48:43 +01:00 committed by Frederik Rietdijk
parent fb66841e9a
commit 399425b9ee

View File

@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage, execnet, pytest, setuptools_scm, pytest-forked }: { stdenv, fetchPypi, buildPythonPackage, execnet, pytest, setuptools_scm, pytest-forked, filelock }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-xdist"; pname = "pytest-xdist";
@ -10,7 +10,7 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ setuptools_scm ]; nativeBuildInputs = [ setuptools_scm ];
buildInputs = [ pytest pytest-forked ]; checkInputs = [ pytest pytest-forked filelock ];
propagatedBuildInputs = [ execnet ]; propagatedBuildInputs = [ execnet ];
checkPhase = '' checkPhase = ''
@ -26,5 +26,6 @@ buildPythonPackage rec {
description = "py.test xdist plugin for distributed testing and loop-on-failing modes"; description = "py.test xdist plugin for distributed testing and loop-on-failing modes";
homepage = https://github.com/pytest-dev/pytest-xdist; homepage = https://github.com/pytest-dev/pytest-xdist;
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
}; };
} }