python3Packages.pbar: use finalAttrs

This commit is contained in:
Sigmanificient
2026-01-07 02:19:26 +01:00
parent af9a0a5731
commit 4d8b4627ae
@@ -5,7 +5,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pbar";
version = "2.2.1";
pyproject = true;
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "darvil82";
repo = "PBar";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-FsEjfusk8isOD52xkjndGQdVC8Vc7N3spLLWQTi3Svc=";
};
@@ -26,4 +26,4 @@ buildPythonPackage rec {
homepage = "https://darvil82.github.io/PBar";
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
})