1{ stdenv, fetchurl, zlib, ffmpeg, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 name = "ffms-2.21";
5
6 src = fetchurl {
7 url = https://codeload.github.com/FFMS/ffms2/tar.gz/2.21;
8 name = "${name}.tar.gz";
9 sha256 = "00h2a5yhvr1qzbrzwbjv1ybxrx25lchgral6yxv36aaf4pi3rhn2";
10 };
11
12 NIX_CFLAGS_COMPILE = "-fPIC";
13
14 buildInputs = [ zlib ffmpeg pkgconfig ];
15
16 meta = {
17 homepage = http://code.google.com/p/ffmpegsource/;
18 description = "Libav/ffmpeg based source library for easy frame accurate access";
19 license = stdenv.lib.licenses.mit;
20 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
21 };
22}