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

32 lines
653 B
Nix
Raw Normal View History

2017-08-24 19:13:55 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, py
2017-08-24 19:13:55 +01:00
, pytest
, 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
};
nativeBuildInputs = [ setuptools_scm ];
2017-08-24 19:13:55 +01:00
propagatedBuildInputs = [ py pytest ];
2017-08-24 19:13:55 +01:00
checkInputs = [ pytestCheckHook ];
2017-08-24 19:13:55 +01:00
meta = {
description = "Run tests in isolated forked subprocesses";
homepage = "https://github.com/pytest-dev/pytest-forked";
2017-08-24 19:13:55 +01:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
2017-08-24 19:13:55 +01:00
};
}