depot/third_party/nixpkgs/pkgs/tools/audio/ezstream/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
1.1 KiB
Nix

{ lib, stdenv, fetchurl, libiconv, libshout, taglib, libxml2, pkg-config }:
stdenv.mkDerivation rec {
pname = "ezstream";
version = "0.6.0";
src = fetchurl {
url = "https://ftp.osuosl.org/pub/xiph/releases/ezstream/${pname}-${version}.tar.gz";
sha256 = "f86eb8163b470c3acbc182b42406f08313f85187bd9017afb8b79b02f03635c9";
};
buildInputs = [ libiconv libshout taglib libxml2 ];
nativeBuildInputs = [ pkg-config ];
doCheck = true;
meta = with lib; {
description = "Command line source client for Icecast media streaming servers";
longDescription = ''
Ezstream is a command line source client for Icecast media
streaming servers. It began as the successor of the old "shout"
utility, and has since gained a lot of useful features.
In its basic mode of operation, it streams media files or data
from standard input without reencoding and thus requires only
very little CPU resources.
'';
homepage = "https://icecast.org/ezstream/";
license = licenses.gpl2Only;
maintainers = [ maintainers.barrucadu ];
platforms = platforms.all;
};
}