1{ lib, buildPythonPackage, fetchFromGitHub
2, pytestCheckHook
3}:
4
5buildPythonPackage rec {
6 pname = "iteration-utilities";
7 version = "0.11.0";
8
9 src = fetchFromGitHub {
10 owner = "MSeifert04";
11 repo = "iteration_utilities";
12 rev = "v${version}";
13 hash = "sha256-Q/ZuwAf+NPikN8/eltwaUilnLw4DKFm864tUe6GLDak=";
14 };
15
16 nativeCheckInputs = [
17 pytestCheckHook
18 ];
19
20 pythonImportsCheck = [ "iteration_utilities" ];
21
22 meta = with lib; {
23 description = "Utilities based on Pythons iterators and generators";
24 homepage = "https://github.com/MSeifert04/iteration_utilities";
25 license = licenses.asl20;
26 maintainers = with maintainers; [ jonringer ];
27 };
28}