mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 01:15:51 +00:00
35 lines
831 B
Nix
35 lines
831 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "iteration-utilities";
|
|
version = "0.13.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MSeifert04";
|
|
repo = "iteration_utilities";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-SiqNUyuvsD5m5qz5ByYyVln3SSa4/D4EHpmM+pf8ngM=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|