depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-forked/default.nix
Default email 5a8b500490 Project import generated by Copybara.
GitOrigin-RevId: 1ca6b0a0cc38dbba0441202535c92841dd39d1ae
2021-06-04 10:07:49 +01:00

37 lines
687 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, py
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-forked";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca";
};
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 ];
};
}