nixpkgs/pkgs/development/libraries/vapoursynth/default.nix

37 lines
915 B
Nix
Raw Normal View History

2016-08-27 04:36:45 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
glibc, zimg, imagemagick, libass, tesseract, yasm,
python3
}:
stdenv.mkDerivation rec {
name = "vapoursynth-${version}";
2016-10-31 21:05:48 +00:00
version = "R35";
2016-08-27 04:36:45 +01:00
src = fetchFromGitHub {
owner = "vapoursynth";
repo = "vapoursynth";
2016-10-31 21:05:48 +00:00
rev = "dcab1529d445776a5575859aea655e613c23c8bc";
sha256 = "0nhpqws91b19lql2alc5pxgzfgh1wjrws0kyvir41jhfxhhjaqpi";
2016-08-27 04:36:45 +01:00
};
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 ];
};
}