diff --git a/pkgs/development/python-modules/persim/default.nix b/pkgs/development/python-modules/persim/default.nix index 9c8dbff7ac49..b3231169d3b9 100644 --- a/pkgs/development/python-modules/persim/default.nix +++ b/pkgs/development/python-modules/persim/default.nix @@ -12,13 +12,14 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "persim"; version = "0.3.8"; format = "setuptools"; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) version; + pname = "persim"; hash = "sha256-4T0YWEF2uKdk0W1+Vt8I3Mi6ZsazJXoHI0W+O9WbpA0="; }; @@ -62,8 +63,8 @@ buildPythonPackage rec { meta = { description = "Distances and representations of persistence diagrams"; homepage = "https://persim.scikit-tda.org"; - changelog = "https://github.com/scikit-tda/persim/releases/tag/v${version}"; + changelog = "https://github.com/scikit-tda/persim/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +})