summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-09-21 22:22:38 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-09-21 22:30:56 +0200
commit62f8e255a49e485742096bf985cd81d3af9280e6 (patch)
tree2a066e7f67640ad44e653308b5aefee4ed8ad5ac /pkgs/development
parent82a4b755b12089c111dd19a7d9eb3c08afb71322 (diff)
downloadnixlib-62f8e255a49e485742096bf985cd81d3af9280e6.tar
nixlib-62f8e255a49e485742096bf985cd81d3af9280e6.tar.gz
nixlib-62f8e255a49e485742096bf985cd81d3af9280e6.tar.bz2
nixlib-62f8e255a49e485742096bf985cd81d3af9280e6.tar.lz
nixlib-62f8e255a49e485742096bf985cd81d3af9280e6.tar.xz
nixlib-62f8e255a49e485742096bf985cd81d3af9280e6.tar.zst
nixlib-62f8e255a49e485742096bf985cd81d3af9280e6.zip
vapoursynth: fix darwin build
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/vapoursynth/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/vapoursynth/default.nix b/pkgs/development/libraries/vapoursynth/default.nix
index b37f28f868ea..cdbecb4dc8bb 100644
--- a/pkgs/development/libraries/vapoursynth/default.nix
+++ b/pkgs/development/libraries/vapoursynth/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
-  zimg, libass, yasm, python3,
+  zimg, libass, yasm, python3, libiconv, ApplicationServices,
   ocrSupport ?  false, tesseract,
   imwriSupport? true,  imagemagick7
 }:
@@ -20,11 +20,12 @@ stdenv.mkDerivation rec {
     sha256 = "0nabl6949s7awy7rnr4ck52v50xr0hwr280fyzsqixgp8w369jn0";
   };
 
+  nativeBuildInputs = [ pkgconfig autoreconfHook ];
   buildInputs = [
-    pkgconfig autoreconfHook
     zimg libass tesseract yasm
     (python3.withPackages (ps: with ps; [ sphinx cython ]))
-  ] ++ optional ocrSupport   tesseract
+  ] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ]
+    ++ optional ocrSupport   tesseract
     ++ optional imwriSupport imagemagick7;
 
   configureFlags = [