mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
104eb09951
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.
42 lines
723 B
Nix
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;
|
|
};
|
|
}
|