lol
1{lib, stdenv, fetchurl
2, libxml2, libxslt, curl
3, libvorbis, libtheora, speex, libkate, libopus }:
4
5stdenv.mkDerivation rec {
6 pname = "icecast";
7 version = "2.4.4";
8
9 src = fetchurl {
10 url = "http://downloads.xiph.org/releases/icecast/icecast-${version}.tar.gz";
11 sha256 = "0i2d9rhav0x6js2qhjf5iy6j2a7f0d11ail0lfv40hb1kygrgda9";
12 };
13
14 buildInputs = [ libxml2 libxslt curl libvorbis libtheora speex libkate libopus ];
15
16 hardeningEnable = [ "pie" ];
17
18 meta = {
19 description = "Server software for streaming multimedia";
20
21 longDescription = ''
22 Icecast is a streaming media server which currently supports
23 Ogg (Vorbis and Theora), Opus, WebM and MP3 audio streams.
24 It can be used to create an Internet radio station or a privately
25 running jukebox and many things in between. It is very versatile
26 in that new formats can be added relatively easily and supports
27 open standards for commuincation and interaction.
28 '';
29
30 homepage = "https://www.icecast.org";
31 license = lib.licenses.gpl2;
32 maintainers = with lib.maintainers; [ jcumming ];
33 platforms = with lib.platforms; unix;
34 };
35}
36