python3Packages.beautysh: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-12 14:27:40 +01:00
committed by GitHub
parent b5cb456fe6
commit 441dc2b5f7
@@ -11,7 +11,7 @@
types-colorama,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "beautysh";
version = "6.4.3";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "lovesegfault";
repo = "beautysh";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-P2oF6Sb7CBsZGSOXifxgCtJdY50YUJF3tKihp3v1cK4=";
};
@@ -42,9 +42,9 @@ buildPythonPackage rec {
meta = {
description = "Tool for beautifying Bash scripts";
homepage = "https://github.com/lovesegfault/beautysh";
changelog = "https://github.com/lovesegfault/beautysh/releases/tag/${src.tag}";
changelog = "https://github.com/lovesegfault/beautysh/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "beautysh";
};
}
})