pythonPackages:pytest-forked: run tests
Also update inputs to match setup.py and add dotlambda to maintainers.
This commit is contained in:
parent
a6ce00c50c
commit
7267c7bade
@ -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 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user