summary refs log tree commit diff
path: root/pkgs/development/libraries/vapoursynth/default.nix
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-02-27 18:36:56 +0100
committerRobert Schütz <dev@schuetz-co.de>2021-02-27 18:36:56 +0100
commit10ba3c20a7bdd6021511338b1f01465cfc9b3bee (patch)
tree2bfbf8de3a4699cda317c2f52c7e65d364c033eb /pkgs/development/libraries/vapoursynth/default.nix
parent5cc881d0d827b4c3f273b5021a7c0b94c112368f (diff)
downloadnixpkgs-10ba3c20a7bdd6021511338b1f01465cfc9b3bee.tar
nixpkgs-10ba3c20a7bdd6021511338b1f01465cfc9b3bee.tar.gz
nixpkgs-10ba3c20a7bdd6021511338b1f01465cfc9b3bee.tar.bz2
nixpkgs-10ba3c20a7bdd6021511338b1f01465cfc9b3bee.tar.lz
nixpkgs-10ba3c20a7bdd6021511338b1f01465cfc9b3bee.tar.xz
nixpkgs-10ba3c20a7bdd6021511338b1f01465cfc9b3bee.tar.zst
nixpkgs-10ba3c20a7bdd6021511338b1f01465cfc9b3bee.zip
treewide: replace imagemagick7 with imagemagick
Diffstat (limited to 'pkgs/development/libraries/vapoursynth/default.nix')
-rw-r--r--pkgs/development/libraries/vapoursynth/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/libraries/vapoursynth/default.nix b/pkgs/development/libraries/vapoursynth/default.nix
index 4265948c195..8ef209fe805 100644
--- a/pkgs/development/libraries/vapoursynth/default.nix
+++ b/pkgs/development/libraries/vapoursynth/default.nix
@@ -2,13 +2,10 @@
 , runCommandCC, runCommand, vapoursynth, writeText, patchelf, buildEnv
 , zimg, libass, python3, libiconv
 , ApplicationServices
-, ocrSupport ?  false, tesseract ? null
-, imwriSupport? true,  imagemagick7 ? null
+, ocrSupport ? false, tesseract
+, imwriSupport ? true, imagemagick
 }:
 
-assert ocrSupport   -> tesseract != null;
-assert imwriSupport -> imagemagick7 != null;
-
 with lib;
 
 stdenv.mkDerivation rec {
@@ -32,7 +29,7 @@ stdenv.mkDerivation rec {
     (python3.withPackages (ps: with ps; [ sphinx cython ]))
   ] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ]
     ++ optional ocrSupport   tesseract
-    ++ optional imwriSupport imagemagick7;
+    ++ optional imwriSupport imagemagick;
 
   configureFlags = [
     (optionalString (!ocrSupport)   "--disable-ocr")