2012-10-15 07:48:46 +01:00
|
|
|
{stdenv, fetchurl
|
|
|
|
, libxml2, libxslt, curl
|
2014-08-24 18:29:26 +01:00
|
|
|
, libvorbis, libtheora, speex, libkate, libopus }:
|
2012-10-15 07:48:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-17 14:49:48 +00:00
|
|
|
name = "icecast-2.4.1";
|
2012-10-15 07:48:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.xiph.org/releases/icecast/${name}.tar.gz";
|
2014-12-17 14:49:48 +00:00
|
|
|
sha256 = "0js5lylrgklhvvaksx46zc8lc975qb1bns8h1ms545nv071rxy23";
|
2012-10-15 07:48:46 +01:00
|
|
|
};
|
|
|
|
|
2014-08-24 18:29:26 +01:00
|
|
|
buildInputs = [ libxml2 libxslt curl libvorbis libtheora speex libkate libopus ];
|
2012-10-15 07:48:46 +01:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningEnable = [ "pie" ];
|
2016-02-26 23:06:53 +00:00
|
|
|
|
2012-10-15 07:48:46 +01:00
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Server software for streaming multimedia";
|
2012-10-15 07:48:46 +01:00
|
|
|
|
|
|
|
longDescription = ''
|
2014-08-24 18:29:26 +01: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 07:48:46 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.icecast.org;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2012-10-15 07:48:46 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|