diff options
author | Artturin <Artturin@artturin.com> | 2021-08-08 00:04:32 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2021-08-08 00:04:32 +0300 |
commit | b5eb352a05ebea3dddf6ca68d8795edefd5a2dd8 (patch) | |
tree | 792990593d50c7bbdf02486ba54d89bdf1a70572 /pkgs/development/python-modules/trackpy | |
parent | ed61460de2006092586ef381278849a9b0470d9c (diff) |
python3Packages.trackpy: unbreak
Diffstat (limited to 'pkgs/development/python-modules/trackpy')
-rw-r--r-- | pkgs/development/python-modules/trackpy/default.nix | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/trackpy/default.nix b/pkgs/development/python-modules/trackpy/default.nix index 2c2df4878e394..27321b4c4297b 100644 --- a/pkgs/development/python-modules/trackpy/default.nix +++ b/pkgs/development/python-modules/trackpy/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv +{ lib +, stdenv , buildPythonPackage , fetchFromGitHub , numpy @@ -7,7 +8,8 @@ , pandas , pyyaml , matplotlib -, pytest +, numba +, pytestCheckHook }: buildPythonPackage rec { @@ -28,25 +30,18 @@ buildPythonPackage rec { pandas pyyaml matplotlib + numba ]; checkInputs = [ - pytest + pytestCheckHook ]; - checkPhase = '' - ${lib.optionalString (stdenv.isDarwin) '' + preCheck = lib.optionalString stdenv.isDarwin '' # specifically needed for darwin export HOME=$(mktemp -d) mkdir -p $HOME/.matplotlib echo "backend: ps" > $HOME/.matplotlib/matplotlibrc - ''} - - pytest trackpy --ignore trackpy/tests/test_motion.py \ - --ignore trackpy/tests/test_feature_saving.py \ - --ignore trackpy/tests/test_feature.py \ - --ignore trackpy/tests/test_plots.py \ - --ignore trackpy/tests/test_legacy_linking.py ''; meta = with lib; { @@ -54,6 +49,5 @@ buildPythonPackage rec { homepage = "https://github.com/soft-matter/trackpy"; license = licenses.bsd3; maintainers = [ maintainers.costrouc ]; - broken = true; # not compatible with latest pandas }; } |