From 13f7b0b3ba658ccafdc27ef02e0ee4e83cb57f2a Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 18 Sep 2024 09:24:11 +0200 Subject: [PATCH] python312Packages.portion: 2.4.2 -> 2.5.0 Diff: https://github.com/AlexandreDecan/portion/compare/refs/tags/2.4.2...2.5.0 Changelog: https://github.com/AlexandreDecan/portion/blob/refs/tags/2.5.0/CHANGELOG.md --- .../python-modules/portion/default.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/portion/default.nix b/pkgs/development/python-modules/portion/default.nix index 51ca2c119026..6af448dccd05 100644 --- a/pkgs/development/python-modules/portion/default.nix +++ b/pkgs/development/python-modules/portion/default.nix @@ -1,32 +1,25 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, setuptools, - wheel, sortedcontainers, pytestCheckHook, }: buildPythonPackage rec { pname = "portion"; - version = "2.4.2"; + version = "2.5.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "AlexandreDecan"; repo = "portion"; rev = "refs/tags/${version}"; - hash = "sha256-URoyuE0yivUqPjJZbvATkAnTxicY4F2eiJ16rIUdY3Y="; + hash = "sha256-sNOieFenrWh6iDXCyCBedx+qIsS+daAr+WVBpkc8yVQ="; }; - build-system = [ - setuptools - wheel - ]; + build-system = [ setuptools ]; dependencies = [ sortedcontainers ]; @@ -34,11 +27,11 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - meta = with lib; { + meta = { description = "Portion, a Python library providing data structure and operations for intervals"; homepage = "https://github.com/AlexandreDecan/portion"; changelog = "https://github.com/AlexandreDecan/portion/blob/${src.rev}/CHANGELOG.md"; - license = licenses.lgpl3; - maintainers = with maintainers; [ GaetanLepage ]; + license = lib.licenses.lgpl3; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; }