diff options
author | Enno Richter <enno@nerdworks.de> | 2023-03-07 05:31:30 +0100 |
---|---|---|
committer | Enno Richter <enno@nerdworks.de> | 2023-03-07 05:32:02 +0100 |
commit | 649670296e729ac4a9c6667fcb172ae24a939ff2 (patch) | |
tree | e9e337649ff006c91ccc0542d1eedde98f681c20 /pkgs/development/libraries/opencv | |
parent | f378cf8113cbfe99df5c4d48961ad385c3399db8 (diff) | |
download | nixpkgs-649670296e729ac4a9c6667fcb172ae24a939ff2.tar nixpkgs-649670296e729ac4a9c6667fcb172ae24a939ff2.tar.gz nixpkgs-649670296e729ac4a9c6667fcb172ae24a939ff2.tar.bz2 nixpkgs-649670296e729ac4a9c6667fcb172ae24a939ff2.tar.lz nixpkgs-649670296e729ac4a9c6667fcb172ae24a939ff2.tar.xz nixpkgs-649670296e729ac4a9c6667fcb172ae24a939ff2.tar.zst nixpkgs-649670296e729ac4a9c6667fcb172ae24a939ff2.zip |
opencv2: add darwin dependencies
Diffstat (limited to 'pkgs/development/libraries/opencv')
-rw-r--r-- | pkgs/development/libraries/opencv/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/opencv/default.nix b/pkgs/development/libraries/opencv/default.nix index 059dc69df12..46ffdf11f88 100644 --- a/pkgs/development/libraries/opencv/default.nix +++ b/pkgs/development/libraries/opencv/default.nix @@ -9,7 +9,7 @@ , enableGStreamer ? false, gst_all_1 , enableEigen ? true, eigen , enableUnfree ? false -, Cocoa, QTKit +, AVFoundation, Cocoa, QTKit }: let @@ -51,7 +51,7 @@ stdenv.mkDerivation rec { ++ lib.optional enableFfmpeg ffmpeg ++ lib.optionals enableGStreamer (with gst_all_1; [ gstreamer gst-plugins-base ]) ++ lib.optional enableEigen eigen - ++ lib.optionals stdenv.isDarwin [ Cocoa QTKit ] + ++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit ] ; nativeBuildInputs = [ cmake pkg-config unzip ]; @@ -79,6 +79,6 @@ stdenv.mkDerivation rec { homepage = "https://opencv.org/"; license = if enableUnfree then licenses.unfree else licenses.bsd3; maintainers = with maintainers; [ ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |