python3Packages.iterable-io: modernize

This commit is contained in:
Martin Joerg
2026-01-13 11:31:50 +00:00
parent 4264de46dd
commit fba0e5e96c
@@ -6,7 +6,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "iterable-io";
version = "1.0.0";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "pR0Ps";
repo = "iterable-io";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-+PSINKS7/FeGHYvkOASA5m+1pBpKfURfylZ8CwKijgA=";
};
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "Library to adapt iterables to a file-like interface";
homepage = "https://github.com/pR0Ps/iterable-io";
changelog = "https://github.com/pR0Ps/iterable-io/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/pR0Ps/iterable-io/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.lgpl3Only;
maintainers = [ lib.maintainers.mjoerg ];
};
}
})