1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytest, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-dependency"; 12 version = "0.6.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-k0sOajnZWZUGLBk/fq7tio/6Bv8bzvS2Kw3HSnCLrME="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 buildInputs = [ pytest ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "pytest_dependency" ]; 27 28 meta = with lib; { 29 homepage = "https://github.com/RKrahl/pytest-dependency"; 30 changelog = "https://github.com/RKrahl/pytest-dependency/blob/${version}/CHANGES.rst"; 31 description = "Manage dependencies of tests"; 32 license = licenses.asl20; 33 maintainers = [ ]; 34 }; 35}