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