about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/persim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/persim/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/persim/default.nix26
1 files changed, 13 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/persim/default.nix b/nixpkgs/pkgs/development/python-modules/persim/default.nix
index d016d1ccea8b..2868cea4aea7 100644
--- a/nixpkgs/pkgs/development/python-modules/persim/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/persim/default.nix
@@ -1,12 +1,14 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, scikitlearn
-, numpy
+, deprecated
+, hopcroftkarp
+, joblib
 , matplotlib
+, numpy
+, scikit-learn
 , scipy
-, hopcroftkarp
-, pytest
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -19,26 +21,24 @@ buildPythonPackage rec {
   };
 
   propagatedBuildInputs = [
-    scikitlearn
-    numpy
+    deprecated
+    hopcroftkarp
+    joblib
     matplotlib
+    numpy
+    scikit-learn
     scipy
-    hopcroftkarp
   ];
 
   checkInputs = [
-    pytest
+    pytestCheckHook
   ];
 
-  checkPhase = ''
+  preCheck = ''
     # specifically needed for darwin
     export HOME=$(mktemp -d)
     mkdir -p $HOME/.matplotlib
     echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
-
-    # ignore tests due to python 2.7 fail
-    pytest --ignore test/test_plots.py \
-           --ignore test/test_visuals.py
   '';
 
   meta = with lib; {