nixpkgs/pkgs/development/python-modules/pytest-forked/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
721 B
Nix
Raw Normal View History

2017-08-24 18:13:55 +00:00
{ lib
, buildPythonPackage
, pythonOlder
2017-08-24 18:13:55 +00:00
, fetchPypi
, setuptools-scm
, py
2017-08-24 18:13:55 +00:00
, pytest
, pytestCheckHook
2017-08-24 18:13:55 +00:00
}:
buildPythonPackage rec {
pname = "pytest-forked";
version = "1.4.0";
disabled = pythonOlder "3.6";
2017-08-24 18:13:55 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-i2dYfI+Yy7rf3YBFOe1UVbbtA4AiA0hd0vU8FCLXRA4=";
2017-08-24 18:13:55 +00:00
};
nativeBuildInputs = [ setuptools-scm ];
2017-08-24 18:13:55 +00:00
buildInputs = [
pytest
];
propagatedBuildInputs = [
py
];
2017-08-24 18:13:55 +00:00
checkInputs = [ pytestCheckHook ];
2017-08-24 18:13:55 +00:00
meta = {
description = "Run tests in isolated forked subprocesses";
homepage = "https://github.com/pytest-dev/pytest-forked";
2017-08-24 18:13:55 +00:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
2017-08-24 18:13:55 +00:00
};
}