diff --git a/pkgs/development/python-modules/sharkiq/default.nix b/pkgs/development/python-modules/sharkiq/default.nix index af38902180b4..105e3b90424f 100644 --- a/pkgs/development/python-modules/sharkiq/default.nix +++ b/pkgs/development/python-modules/sharkiq/default.nix @@ -9,7 +9,7 @@ setuptools-scm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sharkiq"; version = "1.5.1"; pyproject = true; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "JeffResc"; repo = "sharkiq"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-24/cJJ4RaM6twVorJ0pQ/LDHZBTP/rxCiwNozNLS82M="; }; @@ -45,8 +45,8 @@ buildPythonPackage rec { meta = { description = "Python API for Shark IQ robots"; homepage = "https://github.com/JeffResc/sharkiq"; - changelog = "https://github.com/JeffResc/sharkiq/releases/tag/${src.tag}"; + changelog = "https://github.com/JeffResc/sharkiq/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})