summary refs log tree commit diff
path: root/pkgs/tools/video/rtmpdump
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-30 21:46:55 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-30 21:46:55 +0000
commitfe7945b7fb234a30317233758747a47507b0be73 (patch)
treeff6795d2c887cc1783a192d5a24ab11841a6c3a1 /pkgs/tools/video/rtmpdump
parent404c314412f460ed6698361f066cdd0cf16c2dc3 (diff)
downloadnixpkgs-fe7945b7fb234a30317233758747a47507b0be73.tar
nixpkgs-fe7945b7fb234a30317233758747a47507b0be73.tar.gz
nixpkgs-fe7945b7fb234a30317233758747a47507b0be73.tar.bz2
nixpkgs-fe7945b7fb234a30317233758747a47507b0be73.tar.lz
nixpkgs-fe7945b7fb234a30317233758747a47507b0be73.tar.xz
nixpkgs-fe7945b7fb234a30317233758747a47507b0be73.tar.zst
nixpkgs-fe7945b7fb234a30317233758747a47507b0be73.zip
Adding rtmpdump
svn path=/nixpkgs/trunk/; revision=21468
Diffstat (limited to 'pkgs/tools/video/rtmpdump')
-rw-r--r--pkgs/tools/video/rtmpdump/default.nix28
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 00000000000..3f79e57592f
--- /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;
+  };
+}