diff --git a/pkgs/development/python-modules/samarium/default.nix b/pkgs/development/python-modules/samarium/default.nix index b175dc29708c..e75224ada3b3 100644 --- a/pkgs/development/python-modules/samarium/default.nix +++ b/pkgs/development/python-modules/samarium/default.nix @@ -7,7 +7,7 @@ dahlia, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "samarium"; version = "0.6.2"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "samarium-lang"; repo = "samarium"; - tag = version; + tag = finalAttrs.version; hash = "sha256-sOkJ67B8LaIA2cwCHaFnc16lMG8uaegBJCzF6Li77vk="; }; @@ -26,10 +26,10 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/samarium-lang/samarium/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/samarium-lang/samarium/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Samarium Programming Language"; license = lib.licenses.mit; homepage = "https://samarium-lang.github.io/Samarium"; maintainers = with lib.maintainers; [ sigmanificient ]; }; -} +})