2011-09-25 11:04:24 +02:00
|
|
|
{stdenv, fetchgit, zlib, gnutls, libgcrypt}:
|
2010-04-30 23:46:55 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-09-25 11:04:24 +02:00
|
|
|
name = "rtmpdump-2.4";
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.ffmpeg.org/rtmpdump;
|
2014-05-07 20:55:21 +02:00
|
|
|
rev = "79459a2b43f41ac44a2ec001139bcb7b1b8f7497";
|
|
|
|
sha256 = "5af22362004566794035f989879b13d721f85d313d752abd10a7e45806e3944c";
|
2010-04-30 23:46:55 +02:00
|
|
|
};
|
|
|
|
|
2011-05-08 22:18:20 +02:00
|
|
|
buildInputs = [ zlib gnutls libgcrypt ];
|
2010-04-30 23:46:55 +02:00
|
|
|
|
2011-09-25 11:04:24 +02:00
|
|
|
makeFlags = "CRYPTO=GNUTLS";
|
2010-04-30 23:46:55 +02:00
|
|
|
|
2011-09-25 11:04:24 +02:00
|
|
|
configurePhase = ''
|
|
|
|
sed -i s,/usr/local,$out, Makefile librtmp/Makefile
|
2010-04-30 23:46:55 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://rtmpdump.mplayerhq.hu/;
|
|
|
|
description = "Toolkit for RTMP streams";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-08-08 17:58:34 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers. viric ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-04-30 23:46:55 +02:00
|
|
|
};
|
|
|
|
}
|