1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 setuptools-scm, 7 toml, 8 jaraco-functools, 9 jaraco-context, 10 more-itertools, 11 jaraco-collections, 12 pytestCheckHook, 13}: 14 15buildPythonPackage rec { 16 pname = "jaraco-test"; 17 version = "5.5.1"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "jaraco"; 24 repo = "jaraco.test"; 25 tag = "v${version}"; 26 hash = "sha256-jbnU6PFVUd/eD9CWHyJvaTFkcZaIIwztkN9UbQZH1RU="; 27 }; 28 29 build-system = [ setuptools-scm ]; 30 31 dependencies = [ 32 toml 33 jaraco-functools 34 jaraco-context 35 more-itertools 36 jaraco-collections 37 ]; 38 39 nativeCheckInputs = [ pytestCheckHook ]; 40 41 disabledTestPaths = [ 42 # https://github.com/jaraco/jaraco.test/issues/6 43 "jaraco/test/cpython.py" 44 ]; 45 46 pythonImportsCheck = [ "jaraco.test" ]; 47 48 meta = with lib; { 49 description = "Testing support by jaraco"; 50 homepage = "https://github.com/jaraco/jaraco.test"; 51 changelog = "https://github.com/jaraco/jaraco.test/blob/${src.rev}/NEWS.rst"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ dotlambda ]; 54 }; 55}