mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 23:44:13 +00:00
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, libiconv, libshout, taglib, libxml2, pkgconfig }:
|
|
|
|
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 = [ pkgconfig ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "A 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.gpl2;
|
|
maintainers = [ maintainers.barrucadu ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|