diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index 18b0a6f56c54..2a5145a02e75 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -6,13 +6,13 @@ poetry-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "generic"; version = "1.1.7"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-0U2uZihULrCEQ0WI01B1bIjy8wx+I0itX8+gH723zu0="; }; @@ -25,8 +25,8 @@ buildPythonPackage rec { meta = { description = "Generic programming (Multiple dispatch) library for Python"; homepage = "https://github.com/gaphor/generic"; - changelog = "https://github.com/gaphor/generic/releases/tag/${version}"; + changelog = "https://github.com/gaphor/generic/releases/tag/${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = [ ]; }; -} +})