diff --git a/pkgs/development/python-modules/outspin/default.nix b/pkgs/development/python-modules/outspin/default.nix index 6785689cc7ed..bddf1efb92ca 100644 --- a/pkgs/development/python-modules/outspin/default.nix +++ b/pkgs/development/python-modules/outspin/default.nix @@ -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 ]; }; -} +})