Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python3Packages.trackpy: unbreak

Artturin b5eb352a ed61460d

+7 -13
+7 -13
pkgs/development/python-modules/trackpy/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchFromGitHub 4 5 , numpy ··· 7 8 , pandas 8 9 , pyyaml 9 10 , matplotlib 10 - , pytest 11 + , numba 12 + , pytestCheckHook 11 13 }: 12 14 13 15 buildPythonPackage rec { ··· 28 30 pandas 29 31 pyyaml 30 32 matplotlib 33 + numba 31 34 ]; 32 35 33 36 checkInputs = [ 34 - pytest 37 + pytestCheckHook 35 38 ]; 36 39 37 - checkPhase = '' 38 - ${lib.optionalString (stdenv.isDarwin) '' 40 + preCheck = lib.optionalString stdenv.isDarwin '' 39 41 # specifically needed for darwin 40 42 export HOME=$(mktemp -d) 41 43 mkdir -p $HOME/.matplotlib 42 44 echo "backend: ps" > $HOME/.matplotlib/matplotlibrc 43 - ''} 44 - 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 50 45 ''; 51 46 52 47 meta = with lib; { ··· 54 49 homepage = "https://github.com/soft-matter/trackpy"; 55 50 license = licenses.bsd3; 56 51 maintainers = [ maintainers.costrouc ]; 57 - broken = true; # not compatible with latest pandas 58 52 }; 59 53 }