Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, libiconv, libshout, taglib, libxml2, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "ezstream"; 5 version = "0.6.0"; 6 7 src = fetchurl { 8 url = "https://ftp.osuosl.org/pub/xiph/releases/ezstream/${pname}-${version}.tar.gz"; 9 sha256 = "f86eb8163b470c3acbc182b42406f08313f85187bd9017afb8b79b02f03635c9"; 10 }; 11 12 buildInputs = [ libiconv libshout taglib libxml2 ]; 13 nativeBuildInputs = [ pkg-config ]; 14 15 doCheck = true; 16 17 meta = with lib; { 18 description = "A command line source client for Icecast media streaming servers"; 19 longDescription = '' 20 Ezstream is a command line source client for Icecast media 21 streaming servers. It began as the successor of the old "shout" 22 utility, and has since gained a lot of useful features. 23 24 In its basic mode of operation, it streams media files or data 25 from standard input without reencoding and thus requires only 26 very little CPU resources. 27 ''; 28 homepage = "https://icecast.org/ezstream/"; 29 license = licenses.gpl2; 30 maintainers = [ maintainers.barrucadu ]; 31 platforms = platforms.all; 32 }; 33}