diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix index ef861e8ee153..a44697a89dfb 100644 --- a/pkgs/development/libraries/opencv/4.x.nix +++ b/pkgs/development/libraries/opencv/4.x.nix @@ -121,14 +121,14 @@ let owner = "opencv"; repo = "opencv_contrib"; tag = version; - hash = "sha256-YNd96qFJ8SHBgDEEsoNps888myGZdELbbuYCae9pW3M="; + hash = "sha256-3tbscRFryjCynIqh0OWec8CUjXTeIDxOGJkHTK2aIao="; }; testDataSrc = fetchFromGitHub { owner = "opencv"; repo = "opencv_extra"; tag = version; - hash = "sha256-EqlGlemztYlk03MX1LAviArWT+OA3/qL3jfgHYC+SP8="; + hash = "sha256-f8PZyFLdfixt1ApjMc9Cvj9nfEaDRUszSeEfCsWziis="; }; # Contrib must be built in order to enable Tesseract support: diff --git a/pkgs/development/libraries/opencv/tests.nix b/pkgs/development/libraries/opencv/tests.nix index 2d0fb46c2861..e6d3d88f65f3 100644 --- a/pkgs/development/libraries/opencv/tests.nix +++ b/pkgs/development/libraries/opencv/tests.nix @@ -49,7 +49,7 @@ runCommand "opencv4-tests" inherit runAccuracyTests; accuracyTestNames = [ - "calib3d" + # "calib3d" # reached a month of CPU time without completing "core" "features2d" "flann" @@ -69,7 +69,7 @@ runCommand "opencv4-tests" inherit runPerformanceTests; performanceTestNames = [ - "calib3d" + # "calib3d" # reached a month of CPU time without completing "core" "features2d" "imgcodecs" @@ -83,7 +83,7 @@ runCommand "opencv4-tests" testRunner = optionalString (!isDarwin) "${getExe xvfb-run} -a "; - requiredSystemFeatures = optionals cudaSupport [ "cuda" ]; + requiredSystemFeatures = [ "big-parallel" ] ++ optionals cudaSupport [ "cuda" ]; } '' set -euo pipefail