python3Packages.telegraph: use finalAttrs

This commit is contained in:
Timo Gottszky
2026-07-08 16:04:48 +02:00
parent d1ded74c76
commit 4a15302734

View File

@@ -7,7 +7,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "telegraph";
version = "2.2.0";
format = "setuptools";
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
repo = "telegraph";
owner = "python273";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-xARX8lSOftNVYY4InR5vU4OiguCJJJZv/W76G9eLgNY=";
};
@@ -36,8 +36,8 @@ buildPythonPackage rec {
meta = {
description = "Telegraph API wrapper";
homepage = "https://github.com/python273/telegraph";
changelog = "https://github.com/python273/telegraph/releases/tag/v${version}";
changelog = "https://github.com/python273/telegraph/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gp2112 ];
};
}
})