diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-24 20:13:55 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-25 19:36:15 +0200 |
commit | f30d3635f56bdf23d11a2f5126f20f1740ceb6ac (patch) | |
tree | 31b7da11c0feb3ed89820a9fb8ea4a3d71b858f8 /pkgs/development/python-modules/pytest-forked | |
parent | 2930c655570f26a149ffb14d527229940a84f3aa (diff) | |
download | nixlib-f30d3635f56bdf23d11a2f5126f20f1740ceb6ac.tar nixlib-f30d3635f56bdf23d11a2f5126f20f1740ceb6ac.tar.gz nixlib-f30d3635f56bdf23d11a2f5126f20f1740ceb6ac.tar.bz2 nixlib-f30d3635f56bdf23d11a2f5126f20f1740ceb6ac.tar.lz nixlib-f30d3635f56bdf23d11a2f5126f20f1740ceb6ac.tar.xz nixlib-f30d3635f56bdf23d11a2f5126f20f1740ceb6ac.tar.zst nixlib-f30d3635f56bdf23d11a2f5126f20f1740ceb6ac.zip |
python.pkgs.pytest-forked: init at 0.2
Diffstat (limited to 'pkgs/development/python-modules/pytest-forked')
-rw-r--r-- | pkgs/development/python-modules/pytest-forked/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-forked/default.nix b/pkgs/development/python-modules/pytest-forked/default.nix new file mode 100644 index 000000000000..4d04fa61f232 --- /dev/null +++ b/pkgs/development/python-modules/pytest-forked/default.nix @@ -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; + }; + +} \ No newline at end of file |