diff --git a/pkgs/development/python-modules/ossapi/default.nix b/pkgs/development/python-modules/ossapi/default.nix index 49e195282ff5..aaacaad29164 100644 --- a/pkgs/development/python-modules/ossapi/default.nix +++ b/pkgs/development/python-modules/ossapi/default.nix @@ -10,7 +10,7 @@ typing-utils, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ossapi"; version = "5.3.4"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Liam-DeVoe"; repo = "ossapi"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Favez9YcEHgAPNxJg9L4J8BpEUYIx9IFhSeNToT7sv4="; }; @@ -45,8 +45,8 @@ buildPythonPackage rec { meta = { description = "Python wrapper for the osu! API"; homepage = "https://github.com/Liam-DeVoe/ossapi"; - changelog = "https://github.com/Liam-DeVoe/ossapi/releases/tag/${src.tag}"; + changelog = "https://github.com/Liam-DeVoe/ossapi/releases/tag/v${finalAttrs.version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ wulpine ]; }; -} +})