2010-11-26 23:04:07 +03:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "flvstreamer-2.1c1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 06:23:06 +04:00
|
|
|
url = "mirror://savannah/flvstreamer/source/${name}.tar.gz";
|
2010-11-26 23:04:07 +03:00
|
|
|
sha256 = "e90e24e13a48c57b1be01e41c9a7ec41f59953cdb862b50cf3e667429394d1ee";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make posix
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-19 00:16:00 +04:00
|
|
|
mkdir -p $out/bin
|
2010-11-26 23:04:07 +03:00
|
|
|
cp flvstreamer $out/bin
|
|
|
|
cp streams $out/bin
|
|
|
|
cp rtmpsrv $out/bin
|
|
|
|
cp rtmpsuck $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "flvstreamer is an command-line RTMP client";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' flvstreamer is an open source command-line RTMP client intended to
|
|
|
|
stream audio or video content from all types of flash or rtmp servers.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-11-26 23:04:07 +03:00
|
|
|
|
|
|
|
homepage = http://savannah.nongnu.org/projects/flvstreamer;
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thammers ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|