2013-04-10 15:12:02 +02:00
|
|
|
{ stdenv, fetchurl, zlib, ffmpeg, pkgconfig }:
|
|
|
|
|
2013-12-16 14:32:50 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ffms-2.19";
|
|
|
|
|
2013-04-10 15:12:02 +02:00
|
|
|
src = fetchurl {
|
2013-12-16 14:32:50 +01:00
|
|
|
url = https://codeload.github.com/FFMS/ffms2/tar.gz/2.19;
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
sha256 = "0498si8bzwyxxq0f1yc6invzb1lv1ab436gwzn9418839x8pj4vg";
|
2013-04-10 15:12:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-fPIC";
|
|
|
|
|
|
|
|
buildInputs = [ zlib ffmpeg pkgconfig ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/ffmpegsource/;
|
|
|
|
description = "Libav/ffmpeg based source library for easy frame accurate access";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2013-04-10 15:12:02 +02:00
|
|
|
};
|
|
|
|
}
|