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