Files
nixpkgs/pkgs/by-name/vo/vorbis-tools/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
954 B
Nix

{
lib,
stdenv,
fetchurl,
libogg,
libvorbis,
libao,
pkg-config,
curl,
libiconv,
speex,
flac,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "vorbis-tools";
version = "1.4.3";
src = fetchurl {
url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-${version}.tar.gz";
hash = "sha256-of493Gd3vc6/a3l+ft/gQ3lUskdW/8yMa4FrY+BGDd4=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libogg
libvorbis
libao
curl
speex
flac
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
meta = with lib; {
description = "Extra tools for Ogg-Vorbis audio codec";
longDescription = ''
A set of command-line tools to manipulate Ogg Vorbis audio
files, notably the `ogg123' player and the `oggenc' encoder.
'';
homepage = "https://xiph.org/vorbis/";
license = licenses.gpl2;
platforms = platforms.all;
};
}