nixpkgs/pkgs/by-name/ez/ezstream/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

34 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;
};
}