mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
python311Packages.iteration-utilities: add changelog to meta, add format
- disable on unsupported Python releases
This commit is contained in:
parent
520bfa0786
commit
c9ad789379
1 changed files with 11 additions and 2 deletions
|
@ -1,10 +1,16 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "iteration-utilities";
|
||||
version = "0.12.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MSeifert04";
|
||||
|
@ -17,11 +23,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "iteration_utilities" ];
|
||||
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 ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue