python3Packages.trackpy: use finalAttrs

This commit is contained in:
Timo Gottszky
2026-06-06 14:28:08 +02:00
parent 1ec8081a9f
commit 2b7fb7906e
@@ -13,7 +13,7 @@
scipy,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "trackpy";
version = "0.7";
format = "setuptools";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "soft-matter";
repo = "trackpy";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-3e+gHdn/4n8T78eA3Gjz1TdSI4Hd935U2pqd8wG+U0M=";
};
@@ -49,9 +49,9 @@ buildPythonPackage rec {
meta = {
description = "Particle-tracking toolkit";
homepage = "https://github.com/soft-matter/trackpy";
changelog = "https://github.com/soft-matter/trackpy/releases/tag/${src.tag}";
changelog = "https://github.com/soft-matter/trackpy/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = [ ];
broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
};
}
})