diff options
author | Robert Scott <code@humanleg.org.uk> | 2019-11-25 22:25:44 +0000 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-11-26 20:01:37 +0100 |
commit | 8361442cf73c13f9d8464a1c403032c63af19355 (patch) | |
tree | a1a29942728c64ff1e86c82a52f200d1b2375a65 /pkgs/tools/graphics/facedetect | |
parent | c5c37d77f2bf28ec6f6c70499b31fb11f719801b (diff) | |
download | nixpkgs-8361442cf73c13f9d8464a1c403032c63af19355.tar nixpkgs-8361442cf73c13f9d8464a1c403032c63af19355.tar.gz nixpkgs-8361442cf73c13f9d8464a1c403032c63af19355.tar.bz2 nixpkgs-8361442cf73c13f9d8464a1c403032c63af19355.tar.lz nixpkgs-8361442cf73c13f9d8464a1c403032c63af19355.tar.xz nixpkgs-8361442cf73c13f9d8464a1c403032c63af19355.tar.zst nixpkgs-8361442cf73c13f9d8464a1c403032c63af19355.zip |
facedetect: switch to opencv4
opencv2 is essentially EOL and has security concerns
Diffstat (limited to 'pkgs/tools/graphics/facedetect')
-rw-r--r-- | pkgs/tools/graphics/facedetect/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/facedetect/default.nix b/pkgs/tools/graphics/facedetect/default.nix index aab2e111e85..cb697148d04 100644 --- a/pkgs/tools/graphics/facedetect/default.nix +++ b/pkgs/tools/graphics/facedetect/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { }; buildInputs = [ python2Packages.python python2Packages.wrapPython ]; - pythonPath = [ python2Packages.numpy python2Packages.opencv ]; + pythonPath = [ python2Packages.numpy python2Packages.opencv4 ]; phases = [ "unpackPhase" "patchPhase" "installPhase" ]; patchPhase = '' substituteInPlace facedetect \ - --replace /usr/share/opencv "${python2Packages.opencv}/share/OpenCV" + --replace /usr/share/opencv "${python2Packages.opencv4}/share/opencv4" ''; installPhase = '' |