2021-06-04 09:07:49 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytest }:
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-runner";
|
|
|
|
version = "5.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b";
|
|
|
|
};
|
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm pytest ];
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
rm pytest.ini
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Fixture not found
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Invoke py.test as distutils command with dependency resolution";
|
|
|
|
homepage = "https://github.com/pytest-dev/pytest-runner";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|