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