mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
python312Packages.portion: 2.4.2 -> 2.5.0 (#342739)
This commit is contained in:
commit
302bad4ac8
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user