2013-04-10 14:12:02 +01:00
|
|
|
{ stdenv, fetchurl, zlib, ffmpeg, pkgconfig }:
|
|
|
|
|
2013-12-16 13:32:50 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-09-30 10:46:00 +01:00
|
|
|
name = "ffms-2.20";
|
2013-12-16 13:32:50 +00:00
|
|
|
|
2013-04-10 14:12:02 +01:00
|
|
|
src = fetchurl {
|
2014-09-30 10:46:00 +01:00
|
|
|
url = https://codeload.github.com/FFMS/ffms2/tar.gz/2.20;
|
2013-12-16 13:32:50 +00:00
|
|
|
name = "${name}.tar.gz";
|
2014-09-30 10:46:00 +01:00
|
|
|
sha256 = "183klnhl57zf0i8xlr7yvj89ih83pzd48c37qpr57hjn4wbq1n67";
|
2013-04-10 14:12:02 +01: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 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2014-09-30 10:46:00 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2013-04-10 14:12:02 +01:00
|
|
|
};
|
|
|
|
}
|