python310Packages.trackpy: add missing input looseversion

- add pythonImportsCheck
- add format
- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-05-16 22:21:52 +02:00
parent 9318364586
commit 87f208b505

View File

@ -2,19 +2,23 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, six
, pandas
, pyyaml
, looseversion
, matplotlib
, numba
, numpy
, pandas
, pytestCheckHook
, pythonOlder
, pyyaml
, scipy
}:
buildPythonPackage rec {
pname = "trackpy";
version = "0.6.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "soft-matter";
@ -24,13 +28,13 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
numpy
scipy
six
pandas
pyyaml
looseversion
matplotlib
numba
numpy
pandas
pyyaml
scipy
];
nativeCheckInputs = [
@ -44,11 +48,16 @@ buildPythonPackage rec {
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
'';
pythonImportsCheck = [
"trackpy"
];
meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64);
description = "Particle-tracking toolkit";
homepage = "https://github.com/soft-matter/trackpy";
changelog = "https://github.com/soft-matter/trackpy/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
broken = (stdenv.isLinux && stdenv.isAarch64);
};
}