2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, fetchurl, lib, pkg-config, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "alsa-plugins";
|
|
|
|
version = "1.2.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "0z9k3ssbfk2ky2w13avgyf202j1drsz9sv3834bp33cj1i2hc3qw";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# ToDo: a52, etc.?
|
|
|
|
buildInputs =
|
|
|
|
[ alsaLib libogg ]
|
|
|
|
++ lib.optional (libpulseaudio != null) libpulseaudio
|
2021-03-09 03:18:52 +00:00
|
|
|
++ lib.optional (libjack2 != null) libjack2;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Various plugins for ALSA";
|
|
|
|
homepage = "http://alsa-project.org/";
|
|
|
|
license = licenses.lgpl21;
|
2021-01-05 17:05:55 +00:00
|
|
|
maintainers = [ maintainers.marcweber ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|