mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python.pkgs.pytest-forked: init at 0.2
This commit is contained in:
parent
2930c65557
commit
f30d3635f5
33
pkgs/development/python-modules/pytest-forked/default.nix
Normal file
33
pkgs/development/python-modules/pytest-forked/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-forked";
|
||||
version = "0.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e4500cd0509ec4a26535f7d4112a8cc0f17d3a41c29ffd4eab479d2a55b30805";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest setuptools_scm ];
|
||||
|
||||
# Do not function
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
py.test testing
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Run tests in isolated forked subprocesses";
|
||||
homepage = https://github.com/pytest-dev/pytest-forked;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -4223,6 +4223,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
pytest-forked = callPackage ../development/python-modules/pytest-forked { };
|
||||
|
||||
pytest-rerunfailures = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pytest-rerunfailures";
|
||||
|
Loading…
Reference in New Issue
Block a user