nixpkgs/pkgs/by-name/al/alsa-plugins/package.nix
K900 104eb09951 alsa-plugins: add more dependencies, make existing dependencies unconditional
Add ffmpeg for a52 plugin, speexdsp for rate_speex plugin.
Don't add libsamplerate (speexdsp is generally a better resampler),
libavtp (not packaged currently, very niche).

The current dependency handling is a weird hack, we don't need to do it,
even if people override it to null it will be ignored.
2024-11-03 16:33:38 +03:00

42 lines
723 B
Nix

{
stdenv,
fetchurl,
lib,
pkg-config,
alsa-lib,
ffmpeg,
libjack2,
libogg,
libpulseaudio,
speexdsp,
}:
stdenv.mkDerivation rec {
pname = "alsa-plugins";
version = "1.2.12";
src = fetchurl {
url = "mirror://alsa/plugins/alsa-plugins-${version}.tar.bz2";
hash = "sha256-e9ioPTBOji2GoliV2Nyw7wJFqN8y4nGVnNvcavObZvI=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
alsa-lib
ffmpeg
libjack2
libogg
libpulseaudio
speexdsp
];
meta = with lib; {
description = "Various plugins for ALSA";
homepage = "http://alsa-project.org/";
license = licenses.lgpl21;
maintainers = [ maintainers.marcweber ];
platforms = platforms.linux;
};
}