2017-08-24 18:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-forked";
|
2019-02-16 08:53:24 +00:00
|
|
|
version = "1.0.2";
|
2017-08-24 18:13:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-16 08:53:24 +00:00
|
|
|
sha256 = "d352aaced2ebd54d42a65825722cb433004b4446ab5d2044851d9cc7a00c9e38";
|
2017-08-24 18:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest setuptools_scm ];
|
|
|
|
|
|
|
|
# Do not function
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test testing
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Run tests in isolated forked subprocesses";
|
|
|
|
homepage = https://github.com/pytest-dev/pytest-forked;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|