Skip to content

Commit

Permalink
pythonPackages.moviepy: switch to opencv3
Browse files Browse the repository at this point in the history
opencv2 is essentially EOL and has security concerns
  • Loading branch information
risicle authored and FRidh committed Feb 5, 2020
1 parent d04bdce commit f498ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/moviepy/default.nix
Expand Up @@ -11,7 +11,7 @@
, tqdm
# Advanced image processing (triples size of output)
, advancedProcessing ? false
, opencv ? null
, opencv3 ? null
, scikitimage ? null
, scikitlearn ? null
, scipy ? null
Expand All @@ -20,7 +20,7 @@
}:

assert advancedProcessing -> (
opencv != null && scikitimage != null && scikitlearn != null
opencv3 != null && scikitimage != null && scikitlearn != null
&& scipy != null && matplotlib != null && youtube-dl != null);

buildPythonPackage rec {
Expand All @@ -40,7 +40,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy decorator imageio imageio-ffmpeg tqdm requests proglog
] ++ (stdenv.lib.optionals advancedProcessing [
opencv scikitimage scikitlearn scipy matplotlib youtube-dl
opencv3 scikitimage scikitlearn scipy matplotlib youtube-dl
]);

meta = with stdenv.lib; {
Expand Down

0 comments on commit f498ceb

Please sign in to comment.