2011-09-25 09:04:24 +00:00
|
|
|
{stdenv, fetchgit, zlib, gnutls, libgcrypt}:
|
2010-04-30 21:46:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-09-25 09:04:24 +00:00
|
|
|
name = "rtmpdump-2.4";
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.ffmpeg.org/rtmpdump;
|
|
|
|
rev = "c28f1bab7822de97353849e7787b59e50bbb1428";
|
|
|
|
sha256 = "927e7ea7a686adb7cbce9d0a0c710de1e0921bbb1f0c1b35d17bdb816e6c73d8";
|
2010-04-30 21:46:55 +00:00
|
|
|
};
|
|
|
|
|
2011-05-08 20:18:20 +00:00
|
|
|
buildInputs = [ zlib gnutls libgcrypt ];
|
2010-04-30 21:46:55 +00:00
|
|
|
|
2011-09-25 09:04:24 +00:00
|
|
|
makeFlags = "CRYPTO=GNUTLS";
|
2010-04-30 21:46:55 +00:00
|
|
|
|
2011-09-25 09:04:24 +00:00
|
|
|
configurePhase = ''
|
|
|
|
sed -i s,/usr/local,$out, Makefile librtmp/Makefile
|
2010-04-30 21:46:55 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://rtmpdump.mplayerhq.hu/;
|
|
|
|
description = "Toolkit for RTMP streams";
|
|
|
|
license = "GPLv2+";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
|
|
|
};
|
|
|
|
}
|