diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-01-23 16:04:39 +0100 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-01-29 18:28:39 +0100 |
commit | 7267c7bade711df09556a000dee06c69db1ee953 (patch) | |
tree | 72a34f81389399ba3da1ad6928ccb510e3f9d934 /pkgs/development/python-modules/pytest-forked | |
parent | a6ce00c50c36624fec06b2b756a766d4d0f4a888 (diff) |
pythonPackages:pytest-forked: run tests
Also update inputs to match setup.py and add dotlambda to maintainers.
Diffstat (limited to 'pkgs/development/python-modules/pytest-forked')
-rw-r--r-- | pkgs/development/python-modules/pytest-forked/default.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pytest-forked/default.nix b/pkgs/development/python-modules/pytest-forked/default.nix index 89200f519e76a..855e1fb470c2d 100644 --- a/pkgs/development/python-modules/pytest-forked/default.nix +++ b/pkgs/development/python-modules/pytest-forked/default.nix @@ -2,7 +2,9 @@ , buildPythonPackage , fetchPypi , setuptools_scm +, py , pytest +, pytestCheckHook }: buildPythonPackage rec { @@ -14,19 +16,16 @@ buildPythonPackage rec { sha256 = "6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca"; }; - buildInputs = [ pytest setuptools_scm ]; + nativeBuildInputs = [ setuptools_scm ]; - # Do not function - doCheck = false; + propagatedBuildInputs = [ py pytest ]; - checkPhase = '' - py.test testing - ''; + 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 ]; }; - } |