1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools-scm, 6 inflect, 7 more-itertools, 8 six, 9 pytest, 10}: 11 12buildPythonPackage rec { 13 pname = "jaraco-itertools"; 14 version = "6.4.1"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 pname = "jaraco.itertools"; 19 inherit version; 20 hash = "sha256-MU/OVi67RepIIqmLvXsi5f6sfVEY28Gk8ess0Ea/+kc="; 21 }; 22 23 pythonNamespaces = [ "jaraco" ]; 24 25 nativeBuildInputs = [ setuptools-scm ]; 26 27 propagatedBuildInputs = [ 28 inflect 29 more-itertools 30 six 31 ]; 32 nativeCheckInputs = [ pytest ]; 33 34 # tests no longer available through pypi 35 doCheck = false; 36 checkPhase = '' 37 pytest 38 ''; 39 40 pythonImportsCheck = [ "jaraco.itertools" ]; 41 42 meta = with lib; { 43 description = "Tools for working with iterables"; 44 homepage = "https://github.com/jaraco/jaraco.itertools"; 45 license = licenses.mit; 46 }; 47}