mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Adding rtmpdump
svn path=/nixpkgs/trunk/; revision=21468
This commit is contained in:
parent
404c314412
commit
fe7945b7fb
28
pkgs/tools/video/rtmpdump/default.nix
Normal file
28
pkgs/tools/video/rtmpdump/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user