nixpkgs/pkgs/servers/icecast/default.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

35 lines
1.1 KiB
Nix

{stdenv, fetchurl
, libxml2, libxslt, curl
, libvorbis, libtheora, speex, libkate, libopus }:
stdenv.mkDerivation rec {
name = "icecast-2.4.1";
src = fetchurl {
url = "http://downloads.xiph.org/releases/icecast/${name}.tar.gz";
sha256 = "0js5lylrgklhvvaksx46zc8lc975qb1bns8h1ms545nv071rxy23";
};
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.
'';
homepage = http://www.icecast.org;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ jcumming ];
};
}