diff options
author | Artturin <Artturin@artturin.com> | 2022-12-29 15:26:58 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-12-29 15:26:58 +0200 |
commit | 72c7d7c27ea766ebe2ba6447ea9686c73169b6b8 (patch) | |
tree | cffb9199b4ca6be336b8b1a32ffa099397c45dd1 /pkgs/development/libraries/opencv | |
parent | e9f67d5ae55e2107ef0ece3a537b29375a1e9b00 (diff) | |
download | nixpkgs-72c7d7c27ea766ebe2ba6447ea9686c73169b6b8.tar nixpkgs-72c7d7c27ea766ebe2ba6447ea9686c73169b6b8.tar.gz nixpkgs-72c7d7c27ea766ebe2ba6447ea9686c73169b6b8.tar.bz2 nixpkgs-72c7d7c27ea766ebe2ba6447ea9686c73169b6b8.tar.lz nixpkgs-72c7d7c27ea766ebe2ba6447ea9686c73169b6b8.tar.xz nixpkgs-72c7d7c27ea766ebe2ba6447ea9686c73169b6b8.tar.zst nixpkgs-72c7d7c27ea766ebe2ba6447ea9686c73169b6b8.zip |
opencv4: add reverse deps to tests
Diffstat (limited to 'pkgs/development/libraries/opencv')
-rw-r--r-- | pkgs/development/libraries/opencv/4.x.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix index 55889ccab07..2c676e008f0 100644 --- a/pkgs/development/libraries/opencv/4.x.nix +++ b/pkgs/development/libraries/opencv/4.x.nix @@ -14,6 +14,7 @@ , config , ocl-icd , buildPackages +, qimgv , enableJPEG ? true , libjpeg @@ -365,7 +366,12 @@ stdenv.mkDerivation { popd ''; - passthru = lib.optionalAttrs enablePython { pythonPath = [ ]; }; + passthru = { + tests = { + inherit qimgv; + inherit (gst_all_1) gst-plugins-bad; + } // lib.optionalAttrs (!enablePython) { pythonEnabled = pythonPackages.opencv4; }; + } // lib.optionalAttrs enablePython { pythonPath = [ ]; }; meta = with lib; { description = "Open Computer Vision Library with more than 500 algorithms"; |