vapoursynth: wrap vspipe
This commit is contained in:
parent
2259e1b3f3
commit
983e56b74c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
|
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, makeWrapper
|
||||||
, zimg, libass, python3, libiconv
|
, zimg, libass, python3, libiconv
|
||||||
, ApplicationServices, nasm
|
, ApplicationServices, nasm
|
||||||
, ocrSupport ? false, tesseract ? null
|
, ocrSupport ? false, tesseract ? null
|
||||||
@ -11,7 +11,7 @@ assert imwriSupport -> imagemagick7 != null;
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "vapoursynth-${version}";
|
pname = "vapoursynth";
|
||||||
version = "R46";
|
version = "R46";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1xbwva12l68awplardf47ydlx904wifw468npaxa9cx9dvd5mv13";
|
sha256 = "1xbwva12l68awplardf47ydlx904wifw468npaxa9cx9dvd5mv13";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook nasm ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook nasm makeWrapper ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zimg libass
|
zimg libass
|
||||||
(python3.withPackages (ps: with ps; [ sphinx cython ]))
|
(python3.withPackages (ps: with ps; [ sphinx cython ]))
|
||||||
@ -37,12 +37,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/vspipe \
|
||||||
|
--prefix PYTHONPATH : $out/${python3.sitePackages}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A video processing framework with the future in mind";
|
description = "A video processing framework with the future in mind";
|
||||||
homepage = http://www.vapoursynth.com/;
|
homepage = http://www.vapoursynth.com/;
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
platforms = platforms.x86_64;
|
platforms = platforms.x86_64;
|
||||||
maintainers = with maintainers; [ rnhmjoj ];
|
maintainers = with maintainers; [ rnhmjoj tadeokondrak ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user