python3Packages.textualeffects: use finalAttrs pattern

This commit is contained in:
Gaël James
2026-08-08 21:13:05 +02:00
parent eaa3ad2465
commit f271183536

View File

@@ -6,14 +6,14 @@
terminaltexteffects,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "textualeffects";
version = "0.2.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-5C84ZdvcgVgxroFZycOdHdB4my3qK8b4wVxD4kd+XfE=";
};
@@ -29,8 +29,8 @@ buildPythonPackage rec {
meta = {
description = "Visual effects for Textual, a TerminalTextEffects wrapper";
homepage = "https://github.com/ggozad/textualeffects";
changelog = "https://github.com/ggozad/textualeffects/releases/tag/${version}";
changelog = "https://github.com/ggozad/textualeffects/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gaelj ];
};
}
})