1{ 2 lib, 3 buildPythonPackage, 4 decorator, 5 fetchPypi, 6 invoke, 7 pytest, 8 pytestCheckHook, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "pytest-relaxed"; 14 version = "2.0.2"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-lW6gKOww27+2gN2Oe0p/uPgKI5WV6Ius4Bi/LA1xgkg="; 22 }; 23 24 buildInputs = [ pytest ]; 25 26 propagatedBuildInputs = [ decorator ]; 27 28 nativeCheckInputs = [ 29 invoke 30 pytestCheckHook 31 ]; 32 33 pytestFlagsArray = [ "tests" ]; 34 35 pythonImportsCheck = [ "pytest_relaxed" ]; 36 37 meta = with lib; { 38 homepage = "https://pytest-relaxed.readthedocs.io/"; 39 description = "Relaxed test discovery/organization for pytest"; 40 changelog = "https://github.com/bitprophet/pytest-relaxed/blob/${version}/docs/changelog.rst"; 41 license = licenses.bsd0; 42 maintainers = [ ]; 43 }; 44}