11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
19 sha256 = "sha256-Ildl8hbKSFGh4MUBK+k8uYMDrOZD9NSMdPAWIIaGy4E=";
22 env.NIX_CFLAGS_COMPILE = "-fPIC";
38 # ffms includes a built-in vapoursynth plugin, see:
39 # https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin
41 mkdir $out/lib/vapoursynth
42 ln -s $out/lib/libffms2${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/vapoursynth/libffms2${stdenv.hostPlatform.extensions.sharedLibrary}
46 homepage = "https://github.com/FFMS/ffms2";
47 description = "FFmpeg based source library for easy frame accurate access";
48 mainProgram = "ffmsindex";
49 license = licenses.mit;
50 maintainers = with maintainers; [ wegank ];
51 platforms = platforms.unix;