2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl
|
2020-04-24 23:36:52 +00:00
|
|
|
, libxml2, libxslt, curl
|
|
|
|
, libvorbis, libtheora, speex, libkate, libopus }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "icecast";
|
|
|
|
version = "2.4.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "http://downloads.xiph.org/releases/icecast/icecast-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0i2d9rhav0x6js2qhjf5iy6j2a7f0d11ail0lfv40hb1kygrgda9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 libxslt curl libvorbis libtheora speex libkate libopus ];
|
|
|
|
|
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Server software for streaming multimedia";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Icecast is a streaming media server which currently supports
|
|
|
|
Ogg (Vorbis and Theora), Opus, WebM and MP3 audio streams.
|
|
|
|
It can be used to create an Internet radio station or a privately
|
|
|
|
running jukebox and many things in between. It is very versatile
|
|
|
|
in that new formats can be added relatively easily and supports
|
|
|
|
open standards for commuincation and interaction.
|
|
|
|
'';
|
|
|
|
|
2020-10-11 12:50:04 +00:00
|
|
|
homepage = "https://www.icecast.org";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ jcumming ];
|
|
|
|
platforms = with lib.platforms; unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|