2021-06-28 23:13:55 +00:00
|
|
|
{ stdenv, fetchurl, lib, pkg-config, alsa-lib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "alsa-plugins";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.2.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-e9ioPTBOji2GoliV2Nyw7wJFqN8y4nGVnNvcavObZvI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# ToDo: a52, etc.?
|
|
|
|
buildInputs =
|
2021-06-28 23:13:55 +00:00
|
|
|
[ alsa-lib libogg ]
|
2020-04-24 23:36:52 +00:00
|
|
|
++ 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;
|
|
|
|
};
|
|
|
|
}
|