2017-08-24 19:13:55 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
2021-01-23 15:04:39 +00:00
|
|
|
, py
|
2017-08-24 19:13:55 +01:00
|
|
|
, pytest
|
2021-01-23 15:04:39 +00:00
|
|
|
, pytestCheckHook
|
2017-08-24 19:13:55 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2021-01-23 15:04:39 +00:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2017-08-24 19:13:55 +01:00
|
|
|
|
2021-01-23 15:04:39 +00:00
|
|
|
propagatedBuildInputs = [ py pytest ];
|
2017-08-24 19:13:55 +01:00
|
|
|
|
2021-01-23 15:04:39 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2017-08-24 19:13:55 +01:00
|
|
|
|
|
|
|
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;
|
2021-01-23 15:04:39 +00:00
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
2017-08-24 19:13:55 +01:00
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|