depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-forked/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

40 lines
721 B
Nix

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