diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-12-21 06:05:12 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-21 06:05:12 +0100 |
commit | f107be784e6d5da5f90735765a68fdff96acfbb4 (patch) | |
tree | 145573a598009fb6adbd5ef7fbce0a850681f5f0 /infra/libkookie/nixpkgs/pkgs/servers/icecast | |
parent | 2e04b35e5ac3a9123cafffbc84494fa4d389cca0 (diff) | |
parent | e9158eca70ae59e73fae23be5d13d3fa0cfc78b4 (diff) |
Add 'infra/libkookie/nixpkgs/' from commit 'e9158eca70ae59e73fae23be5d13d3fa0cfc78b4'
git-subtree-dir: infra/libkookie/nixpkgs
git-subtree-mainline: 2e04b35e5ac3a9123cafffbc84494fa4d389cca0
git-subtree-split: e9158eca70ae59e73fae23be5d13d3fa0cfc78b4
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/servers/icecast')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/servers/icecast/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/servers/icecast/default.nix b/infra/libkookie/nixpkgs/pkgs/servers/icecast/default.nix new file mode 100644 index 000000000000..52f30c7c658c --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/servers/icecast/default.nix @@ -0,0 +1,35 @@ +{stdenv, fetchurl +, libxml2, libxslt, curl +, libvorbis, libtheora, speex, libkate, libopus }: + +stdenv.mkDerivation rec { + name = "icecast-2.4.4"; + + src = fetchurl { + url = "http://downloads.xiph.org/releases/icecast/${name}.tar.gz"; + sha256 = "0i2d9rhav0x6js2qhjf5iy6j2a7f0d11ail0lfv40hb1kygrgda9"; + }; + + 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 = "https://www.icecast.org"; + license = stdenv.lib.licenses.gpl2; + maintainers = with stdenv.lib.maintainers; [ jcumming ]; + platforms = with stdenv.lib.platforms; unix; + }; +} + |