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