python3Packages.persim: use finalAttrs

This commit is contained in:
Timo Gottszky
2026-07-08 16:39:04 +02:00
parent d1ded74c76
commit b0f9b7c98b
@@ -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 = [ ];
};
}
})