3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/video/rtmpdump/default.nix
2014-05-07 20:56:37 +02:00

27 lines
693 B
Nix

{stdenv, fetchgit, zlib, gnutls, libgcrypt}:
stdenv.mkDerivation {
name = "rtmpdump-2.4";
src = fetchgit {
url = git://git.ffmpeg.org/rtmpdump;
rev = "79459a2b43f41ac44a2ec001139bcb7b1b8f7497";
sha256 = "5af22362004566794035f989879b13d721f85d313d752abd10a7e45806e3944c";
};
buildInputs = [ zlib gnutls libgcrypt ];
makeFlags = "CRYPTO=GNUTLS";
configurePhase = ''
sed -i s,/usr/local,$out, Makefile librtmp/Makefile
'';
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;
};
}