10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 sha256 = "sha256-Ildl8hbKSFGh4MUBK+k8uYMDrOZD9NSMdPAWIIaGy4E=";
21 env.NIX_CFLAGS_COMPILE = "-fPIC";
37 # ffms includes a built-in vapoursynth plugin, see:
38 # https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin
40 mkdir $out/lib/vapoursynth
41 ln -s $out/lib/libffms2.so $out/lib/vapoursynth/libffms2.so
45 homepage = "https://github.com/FFMS/ffms2";
46 description = "FFmpeg based source library for easy frame accurate access";
47 mainProgram = "ffmsindex";
48 license = licenses.mit;
50 platforms = platforms.unix;