1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 wheel, 8 pytestCheckHook, 9 pytest, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "pytest-test-utils"; 15 version = "0.0.8"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "iterative"; 22 repo = pname; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-5gB+hnJR2+NQd/n7RGrX1bzfKt8Np7IbWw61SZgNVJY="; 25 }; 26 27 nativeBuildInputs = [ 28 setuptools 29 setuptools-scm 30 wheel 31 ]; 32 33 buildInputs = [ pytest ]; 34 35 nativeCheckInputs = [ pytestCheckHook ]; 36 37 pythonImportsCheck = [ "pytest_test_utils" ]; 38 39 meta = with lib; { 40 description = "Pytest utilities for tests"; 41 homepage = "https://github.com/iterative/pytest-test-utils"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}