2017-08-24 20:13:55 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-forked";
|
2019-10-24 08:47:45 +02:00
|
|
|
version = "1.1.3";
|
2017-08-24 20:13:55 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:45 +02:00
|
|
|
sha256 = "1805699ed9c9e60cb7a8179b8d4fa2b8898098e82d229b0825d8095f0f261100";
|
2017-08-24 20:13:55 +02: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 03:11:51 +02:00
|
|
|
homepage = "https://github.com/pytest-dev/pytest-forked";
|
2017-08-24 20:13:55 +02:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
|
2020-04-01 03:11:51 +02:00
|
|
|
}
|