2021-06-10 04:57:09 +02:00
|
|
|
{ stdenv, fetchurl, lib, pkg-config, alsa-lib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
2011-07-26 02:05:10 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-11 22:46:35 +02:00
|
|
|
pname = "alsa-plugins";
|
2021-06-10 01:22:08 +02:00
|
|
|
version = "1.2.5";
|
2009-09-20 23:54:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-11 22:46:35 +02:00
|
|
|
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
|
2021-06-10 01:22:08 +02:00
|
|
|
sha256 = "086z2g2f95570vfvp9d5bakib4k18fb4bszf3lgx3j6j6f2gkvj2";
|
2009-09-20 23:54:23 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-03-07 23:09:49 +01:00
|
|
|
|
2014-06-19 20:24:23 +02:00
|
|
|
# ToDo: a52, etc.?
|
2011-07-26 02:05:10 +02:00
|
|
|
buildInputs =
|
2021-06-10 04:57:09 +02:00
|
|
|
[ alsa-lib libogg ]
|
2015-04-26 06:43:37 +02:00
|
|
|
++ lib.optional (libpulseaudio != null) libpulseaudio
|
2021-02-08 15:53:37 +01:00
|
|
|
++ lib.optional (libjack2 != null) libjack2;
|
2009-09-20 23:54:23 +02:00
|
|
|
|
2014-06-19 20:24:23 +02:00
|
|
|
meta = with lib; {
|
2011-07-26 02:05:10 +02:00
|
|
|
description = "Various plugins for ALSA";
|
2020-02-23 06:55:36 +01:00
|
|
|
homepage = "http://alsa-project.org/";
|
2014-08-02 05:08:07 +02:00
|
|
|
license = licenses.lgpl21;
|
2021-01-01 22:08:35 +01:00
|
|
|
maintainers = [ maintainers.marcweber ];
|
2014-06-19 20:24:23 +02:00
|
|
|
platforms = platforms.linux;
|
2009-09-20 23:54:23 +02:00
|
|
|
};
|
|
|
|
}
|