depot/third_party/nixpkgs/pkgs/development/python-modules/iteration-utilities/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

37 lines
864 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "iteration-utilities";
version = "0.12.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MSeifert04";
repo = "iteration_utilities";
rev = "refs/tags/v${version}";
hash = "sha256-KdL0lwlmBEG++JRociR92HdYxzArTeL5uEyUjvvwi1Y=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"iteration_utilities"
];
meta = with lib; {
description = "Utilities based on Pythons iterators and generators";
homepage = "https://github.com/MSeifert04/iteration_utilities";
changelog = "https://github.com/MSeifert04/iteration_utilities/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ jonringer ];
};
}