nixpkgs/pkgs/tools/networking/flvstreamer/default.nix

40 lines
914 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "flvstreamer-2.1c1";
src = fetchurl {
url = "mirror://savannah/flvstreamer/source/${name}.tar.gz";
sha256 = "e90e24e13a48c57b1be01e41c9a7ec41f59953cdb862b50cf3e667429394d1ee";
};
buildPhase = ''
2017-04-21 05:45:18 +01:00
make CC=cc posix
'';
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 09:19:50 +00:00
'' flvstreamer is an open source command-line RTMP client intended to
stream audio or video content from all types of flash or rtmp servers.
'';
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2Plus;
homepage = "https://savannah.nongnu.org/projects/flvstreamer";
2021-01-15 09:19:50 +00:00
maintainers = [ lib.maintainers.thammers ];
platforms = with lib.platforms; linux ++ darwin;
};
}