13 buildPythonPackage rec {
17 src = fetchFromGitHub {
18 owner = "soft-matter";
21 sha256 = "16mc22z3104fvygky4gy3gvifjijm42db48v2z1y0fmyf6whi9p6";
24 propagatedBuildInputs = [
38 ${lib.optionalString (stdenv.isDarwin) ''
39 # specifically needed for darwin
40 export HOME=$(mktemp -d)
41 mkdir -p $HOME/.matplotlib
42 echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
45 pytest trackpy --ignore trackpy/tests/test_motion.py \
46 --ignore trackpy/tests/test_feature_saving.py \
47 --ignore trackpy/tests/test_feature.py \
48 --ignore trackpy/tests/test_plots.py \
49 --ignore trackpy/tests/test_legacy_linking.py
53 description = "Particle-tracking toolkit";
54 homepage = "https://github.com/soft-matter/trackpy";
55 license = licenses.bsd3;
56 maintainers = [ maintainers.costrouc ];
57 broken = true; # not compatible with latest pandas