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