1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "iteration-utilities"; 11 version = "0.13.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "MSeifert04"; 18 repo = "iteration_utilities"; 19 tag = "v${version}"; 20 hash = "sha256-SiqNUyuvsD5m5qz5ByYyVln3SSa4/D4EHpmM+pf8ngM="; 21 }; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "iteration_utilities" ]; 26 27 meta = with lib; { 28 description = "Utilities based on Pythons iterators and generators"; 29 homepage = "https://github.com/MSeifert04/iteration_utilities"; 30 changelog = "https://github.com/MSeifert04/iteration_utilities/releases/tag/v${version}"; 31 license = licenses.asl20; 32 maintainers = [ ]; 33 }; 34}