python3Packages.outspin: use finalAttrs

This commit is contained in:
Sigmanificient
2026-01-07 02:19:26 +01:00
parent fa14924a10
commit 93610de496
@@ -6,7 +6,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finaAttrs: {
pname = "outspin";
version = "0.3.2";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "trag1c";
repo = "outspin";
tag = "v${version}";
tag = "v${finaAttrs.version}";
hash = "sha256-j+J3n/p+DcfnhGfC4/NDBDl5bF39L5kIPeGJW0Zm7ls=";
};
@@ -24,9 +24,9 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/trag1c/outspin/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/trag1c/outspin/blob/${finaAttrs.src.tag}/CHANGELOG.md";
description = "Conveniently read single char inputs in the console";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
})