pythpn3Packages.pyleri: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-07-08 21:54:24 +02:00
committed by GitHub
parent 23b4e27e4a
commit f6d4e77bcc
@@ -6,7 +6,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pyleri";
version = "1.5.1";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "cesbit";
repo = "pyleri";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-EmdQdUKFkt3sERU0Q4JOdoiFIvtRIRIl4V4BTId7Ngo=";
};
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "Module to parse SiriDB";
homepage = "https://github.com/cesbit/pyleri";
changelog = "https://github.com/cesbit/pyleri/releases/tag/${src.tag}";
changelog = "https://github.com/cesbit/pyleri/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})