diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 11:18:05 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 11:18:05 +0100 |
commit | 137fb57d98e13f4f7f6417e185e57e5391f83f99 (patch) | |
tree | 18650850059899726d029108e42f7a5a2f077a96 /pkgs | |
parent | 4436ac1056c86647da05c62eedea8df61c58b43c (diff) |
opencv3: pythonPackages can be missing
when we do not need Python (default)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/opencv/3.x.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/opencv/3.x.nix b/pkgs/development/libraries/opencv/3.x.nix index 11872cd47cc31..a65e978f98163 100644 --- a/pkgs/development/libraries/opencv/3.x.nix +++ b/pkgs/development/libraries/opencv/3.x.nix @@ -18,7 +18,7 @@ , enableUnfree ? false , enableIpp ? false -, enablePython ? false, pythonPackages +, enablePython ? false, pythonPackages ? null , enableGtk2 ? false, gtk2 , enableGtk3 ? false, gtk3 , enableVtk ? false, vtk @@ -36,6 +36,8 @@ assert blas.implementation == "openblas" && lapack.implementation == "openblas"; +assert enablePython -> pythonPackages != null; + let version = "3.4.8"; |