From fe7945b7fb234a30317233758747a47507b0be73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 30 Apr 2010 21:46:55 +0000 Subject: [PATCH] Adding rtmpdump svn path=/nixpkgs/trunk/; revision=21468 --- pkgs/tools/video/rtmpdump/default.nix | 28 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/tools/video/rtmpdump/default.nix diff --git a/pkgs/tools/video/rtmpdump/default.nix b/pkgs/tools/video/rtmpdump/default.nix new file mode 100644 index 000000000000..3f79e57592f5 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1a2a9d8a6d7b..ba372ed42996 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1465,6 +1465,10 @@ let qt = qt4; }; + rtmpdump = import ../tools/video/rtmpdump { + inherit fetchurl stdenv zlib gnutls; + }; + reiser4progs = import ../tools/filesystems/reiser4progs { inherit fetchurl stdenv libaal; };