2015-04-25 21:43:37 -07:00
|
|
|
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
2011-07-25 17:05:10 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-11 13:46:35 -07:00
|
|
|
pname = "alsa-plugins";
|
2019-05-10 21:01:17 -07:00
|
|
|
version = "1.1.9";
|
2009-09-20 14:54:23 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-11 13:46:35 -07:00
|
|
|
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
|
2019-05-10 21:01:17 -07:00
|
|
|
sha256 = "01zrg0h2jw9dlj9233vjsn916yf4f2s667yry6xsn8d57lq745qn";
|
2009-09-20 14:54:23 -07:00
|
|
|
};
|
|
|
|
|
2014-06-19 11:24:23 -07:00
|
|
|
# ToDo: a52, etc.?
|
2011-07-25 17:05:10 -07:00
|
|
|
buildInputs =
|
2014-06-19 07:59:54 -07:00
|
|
|
[ pkgconfig alsaLib libogg ]
|
2015-04-25 21:43:37 -07:00
|
|
|
++ lib.optional (libpulseaudio != null) libpulseaudio
|
|
|
|
++ lib.optional (libjack2 != null) libjack2;
|
2009-09-20 14:54:23 -07:00
|
|
|
|
2014-06-19 11:24:23 -07:00
|
|
|
meta = with lib; {
|
2011-07-25 17:05:10 -07:00
|
|
|
description = "Various plugins for ALSA";
|
|
|
|
homepage = http://alsa-project.org/;
|
2014-08-01 20:08:07 -07:00
|
|
|
license = licenses.lgpl21;
|
2014-06-19 11:24:23 -07:00
|
|
|
maintainers = [maintainers.marcweber];
|
|
|
|
platforms = platforms.linux;
|
2009-09-20 14:54:23 -07:00
|
|
|
};
|
|
|
|
}
|