about summary refs log tree commit diff
path: root/pkgs/development/libraries/vapoursynth/default.nix
blob: cfa2c3fa1f2638d48436f8e5f0e359917c0ca1cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
  glibc, zimg, imagemagick, libass, tesseract, yasm,
  python3
}:

stdenv.mkDerivation rec {
  name = "vapoursynth-${version}";
  version = "R35";

  src = fetchFromGitHub {
    owner = "vapoursynth";
    repo  = "vapoursynth";
    rev    = "dcab1529d445776a5575859aea655e613c23c8bc";
    sha256 = "0nhpqws91b19lql2alc5pxgzfgh1wjrws0kyvir41jhfxhhjaqpi";
  };

  buildInputs = [
    pkgconfig autoreconfHook
    zimg imagemagick libass glibc tesseract yasm
    (python3.withPackages (ps: with ps; [ sphinx cython ]))
  ];

  configureFlags = [
    "--enable-imwri"
    "--disable-static"
  ];

  meta = with stdenv.lib; {
    description = "A video processing framework with the future in mind";
    homepage = http://www.vapoursynth.com/;
    license   = licenses.lgpl21;
    platforms = platforms.unix;
    maintainers = with maintainers; [ rnhmjoj ];
  };

}