1 { stdenv, fetchurl, lib, pkg-config, alsa-lib, libogg, libpulseaudio ? null, libjack2 ? null }:
3 stdenv.mkDerivation rec {
4 pname = "alsa-plugins";
8 url = "mirror://alsa/plugins/alsa-plugins-${version}.tar.bz2";
9 hash = "sha256-e9ioPTBOji2GoliV2Nyw7wJFqN8y4nGVnNvcavObZvI=";
12 nativeBuildInputs = [ pkg-config ];
17 ++ lib.optional (libpulseaudio != null) libpulseaudio
18 ++ lib.optional (libjack2 != null) libjack2;
21 description = "Various plugins for ALSA";
22 homepage = "http://alsa-project.org/";
23 license = licenses.lgpl21;
24 maintainers = [ maintainers.marcweber ];
25 platforms = platforms.linux;