2021-01-15 10:07:56 +03:00
|
|
|
{lib, stdenv, fetchurl
|
2012-10-15 10:48:46 +04:00
|
|
|
, libxml2, libxslt, curl
|
2014-08-24 21:29:26 +04:00
|
|
|
, libvorbis, libtheora, speex, libkate, libopus }:
|
2012-10-15 10:48:46 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-26 00:53:02 +03:00
|
|
|
pname = "icecast";
|
|
|
|
version = "2.4.4";
|
2012-10-15 10:48:46 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-26 00:53:02 +03:00
|
|
|
url = "http://downloads.xiph.org/releases/icecast/icecast-${version}.tar.gz";
|
2018-11-01 23:48:22 +03:00
|
|
|
sha256 = "0i2d9rhav0x6js2qhjf5iy6j2a7f0d11ail0lfv40hb1kygrgda9";
|
2012-10-15 10:48:46 +04:00
|
|
|
};
|
|
|
|
|
2014-08-24 21:29:26 +04:00
|
|
|
buildInputs = [ libxml2 libxslt curl libvorbis libtheora speex libkate libopus ];
|
2012-10-15 10:48:46 +04:00
|
|
|
|
2016-02-26 20:38:15 +03:00
|
|
|
hardeningEnable = [ "pie" ];
|
2016-02-27 02:06:53 +03:00
|
|
|
|
2012-10-15 10:48:46 +04:00
|
|
|
meta = {
|
2013-10-06 13:49:53 +04:00
|
|
|
description = "Server software for streaming multimedia";
|
2012-10-15 10:48:46 +04:00
|
|
|
|
|
|
|
longDescription = ''
|
2014-08-24 21:29:26 +04:00
|
|
|
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.
|
2012-10-15 10:48:46 +04:00
|
|
|
'';
|
|
|
|
|
2020-10-10 17:09:55 +03:00
|
|
|
homepage = "https://www.icecast.org";
|
2021-01-15 10:07:56 +03:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ jcumming ];
|
|
|
|
platforms = with lib.platforms; unix;
|
2012-10-15 10:48:46 +04:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|