diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-04-30 21:46:55 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-04-30 21:46:55 +0000 |
commit | fe7945b7fb234a30317233758747a47507b0be73 (patch) | |
tree | ff6795d2c887cc1783a192d5a24ab11841a6c3a1 /pkgs/tools/video | |
parent | 404c314412f460ed6698361f066cdd0cf16c2dc3 (diff) |
Adding rtmpdump
svn path=/nixpkgs/trunk/; revision=21468
Diffstat (limited to 'pkgs/tools/video')
-rw-r--r-- | pkgs/tools/video/rtmpdump/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/video/rtmpdump/default.nix b/pkgs/tools/video/rtmpdump/default.nix new file mode 100644 index 0000000000000..3f79e57592f5d --- /dev/null +++ b/pkgs/tools/video/rtmpdump/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl, zlib, gnutls}: + +stdenv.mkDerivation { + name = "rtmpdump-2.2d"; + src = fetchurl { + url = http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2d.tgz; + sha256 = "0w2cr3mgp4dcabmr7d7pnsn8f2r1zvar553vfavnzqv61gnhyrm5"; + }; + + buildInputs = [ zlib gnutls ]; + + makeFlags = "CRYPTO=GNUTLS posix"; + + installPhase = '' + ensureDir $out/bin $out/share/man/man{1,8} + cp rtmpdump rtmpsrv rtmpsuck rtmpgw $out/bin + cp *.1 $out/share/man/man1 + cp *.8 $out/share/man/man8 + ''; + + 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; + }; +} |