python3Packages.persim: use finalAttrs
This commit is contained in:
@@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user