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