python3Packages.trackpy: migrate to pyproject (#528778)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
looseversion,
|
||||
matplotlib,
|
||||
numba,
|
||||
@@ -13,19 +14,23 @@
|
||||
scipy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "trackpy";
|
||||
version = "0.7";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "soft-matter";
|
||||
repo = "trackpy";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3e+gHdn/4n8T78eA3Gjz1TdSI4Hd935U2pqd8wG+U0M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
looseversion
|
||||
matplotlib
|
||||
numba
|
||||
@@ -49,9 +54,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