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