diff options
-rw-r--r-- | pkgs/development/libraries/vapoursynth/default.nix | 36 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/vapoursynth/default.nix b/pkgs/development/libraries/vapoursynth/default.nix new file mode 100644 index 00000000000..12cba8decc7 --- /dev/null +++ b/pkgs/development/libraries/vapoursynth/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, + glibc, zimg, imagemagick, libass, tesseract, yasm, + python3 +}: + +stdenv.mkDerivation rec { + name = "vapoursynth-${version}"; + version = "R33.1"; + + src = fetchFromGitHub { + owner = "vapoursynth"; + repo = "vapoursynth"; + rev = "0d69d29abb3c4ba9e806958bf9c539bd6eff6852"; + sha256 = "1dbz81vgqfsb306d7891p8y25y7632y32ii3l64shr0jsq64vgsm"; + }; + + 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 ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 886f2a90066..766b7e4d41d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16098,6 +16098,8 @@ in vapor = callPackage ../games/vapor { love = love_0_8; }; + vapoursynth = callPackage ../development/libraries/vapoursynth { }; + vassal = callPackage ../games/vassal { }; vdrift = callPackage ../games/vdrift { }; |