mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
38 lines
1.2 KiB
Nix
38 lines
1.2 KiB
Nix
{lib, stdenv, fetchurl
|
|
, libxml2, libxslt, curl
|
|
, libvorbis, libtheora, speex, libkate, libopus }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "icecast";
|
|
version = "2.4.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.xiph.org/releases/icecast/icecast-${version}.tar.gz";
|
|
sha256 = "0i2d9rhav0x6js2qhjf5iy6j2a7f0d11ail0lfv40hb1kygrgda9";
|
|
};
|
|
|
|
buildInputs = [ libxml2 libxslt curl libvorbis libtheora speex libkate libopus ];
|
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
meta = {
|
|
description = "Server software for streaming multimedia";
|
|
mainProgram = "icecast";
|
|
|
|
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.
|
|
'';
|
|
|
|
homepage = "https://www.icecast.org";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ jcumming ];
|
|
platforms = with lib.platforms; unix;
|
|
};
|
|
}
|
|
|