python3Packages.outspin: use finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user