diff --git a/pkgs/development/python-modules/nptyping/default.nix b/pkgs/development/python-modules/nptyping/default.nix index b82f21fb51d9..ad055fa719d0 100644 --- a/pkgs/development/python-modules/nptyping/default.nix +++ b/pkgs/development/python-modules/nptyping/default.nix @@ -10,7 +10,7 @@ feedparser, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "nptyping"; version = "2.5.0"; format = "setuptools"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ramonhagenaars"; repo = "nptyping"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-hz4YrcvARCAA7TXapmneIwle/F4pzcIYLPSmiFHC0VQ="; }; @@ -63,11 +63,11 @@ buildPythonPackage rec { meta = { description = "Type hints for numpy"; homepage = "https://github.com/ramonhagenaars/nptyping"; - changelog = "https://github.com/ramonhagenaars/nptyping/blob/v${version}/HISTORY.md"; + changelog = "https://github.com/ramonhagenaars/nptyping/blob/v${finalAttrs.version}/HISTORY.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin pandapip1 ]; }; -} +})