nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 65 lines 1.4 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 curl, 7 libigloo, 8 libkate, 9 libopus, 10 libtheora, 11 libvorbis, 12 libxml2, 13 libxslt, 14 rhash, 15 speex, 16 nixosTests, 17}: 18 19stdenv.mkDerivation (finalAttrs: { 20 pname = "icecast"; 21 version = "2.5.0"; 22 23 src = fetchurl { 24 url = "http://downloads.xiph.org/releases/icecast/icecast-${finalAttrs.version}.tar.gz"; 25 hash = "sha256-2aoHx0Ka7BnZUP9v1CXDcfdxWM00/yIPwZGywYbGfHo="; 26 }; 27 28 nativeBuildInputs = [ pkg-config ]; 29 30 buildInputs = [ 31 curl 32 libigloo 33 libkate 34 libopus 35 libtheora 36 libvorbis 37 libxml2 38 libxslt 39 rhash 40 speex 41 ]; 42 43 passthru.tests = { 44 inherit (nixosTests) icecast; 45 }; 46 47 meta = { 48 description = "Server software for streaming multimedia"; 49 mainProgram = "icecast"; 50 51 longDescription = '' 52 Icecast is a streaming media server which currently supports 53 Ogg (Vorbis and Theora), Opus, WebM and MP3 audio streams. 54 It can be used to create an Internet radio station or a privately 55 running jukebox and many things in between. It is very versatile 56 in that new formats can be added relatively easily and supports 57 open standards for commuincation and interaction. 58 ''; 59 60 homepage = "https://www.icecast.org"; 61 license = lib.licenses.gpl2Plus; 62 maintainers = with lib.maintainers; [ jcumming ]; 63 platforms = with lib.platforms; unix; 64 }; 65})