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 {
|
2016-02-13 11:04:41 -08:00
|
|
|
name = "alsa-plugins-1.1.0";
|
2009-09-20 14:54:23 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-11-21 17:29:27 -08:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2"
|
|
|
|
"http://alsa.cybermirror.org/plugins/${name}.tar.bz2"
|
|
|
|
];
|
2016-02-13 11:04:41 -08:00
|
|
|
sha256 = "3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee";
|
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
|
|
|
};
|
|
|
|
}
|