38 lines
687 B
Nix
Raw Normal View History

2017-08-24 20:13:55 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, py
2017-08-24 20:13:55 +02:00
, pytest
, pytestCheckHook
2017-08-24 20:13:55 +02:00
}:
buildPythonPackage rec {
pname = "pytest-forked";
2020-08-16 19:31:12 +02:00
version = "1.3.0";
2017-08-24 20:13:55 +02:00
src = fetchPypi {
inherit pname version;
2020-08-16 19:31:12 +02:00
sha256 = "6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca";
2017-08-24 20:13:55 +02:00
};
nativeBuildInputs = [ setuptools_scm ];
2017-08-24 20:13:55 +02:00
buildInputs = [
pytest
];
propagatedBuildInputs = [
py
];
2017-08-24 20:13:55 +02:00
checkInputs = [ pytestCheckHook ];
2017-08-24 20:13:55 +02:00
meta = {
description = "Run tests in isolated forked subprocesses";
homepage = "https://github.com/pytest-dev/pytest-forked";
2017-08-24 20:13:55 +02:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
2017-08-24 20:13:55 +02:00
};
}