2015-04-26 06:43:37 +02:00
|
|
|
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
2011-07-26 02:05:10 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-02-13 20:04:41 +01:00
|
|
|
name = "alsa-plugins-1.1.0";
|
2009-09-20 23:54:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-11-22 02:29:27 +01:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2"
|
|
|
|
"http://alsa.cybermirror.org/plugins/${name}.tar.bz2"
|
|
|
|
];
|
2016-02-13 20:04:41 +01:00
|
|
|
sha256 = "3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee";
|
2009-09-20 23:54:23 +02:00
|
|
|
};
|
|
|
|
|
2014-06-19 20:24:23 +02:00
|
|
|
# ToDo: a52, etc.?
|
2011-07-26 02:05:10 +02:00
|
|
|
buildInputs =
|
2014-06-19 16:59:54 +02:00
|
|
|
[ pkgconfig alsaLib libogg ]
|
2015-04-26 06:43:37 +02:00
|
|
|
++ lib.optional (libpulseaudio != null) libpulseaudio
|
|
|
|
++ 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";
|
|
|
|
homepage = http://alsa-project.org/;
|
2014-08-02 05:08:07 +02:00
|
|
|
license = licenses.lgpl21;
|
2014-06-19 20:24:23 +02:00
|
|
|
maintainers = [maintainers.marcweber];
|
|
|
|
platforms = platforms.linux;
|
2009-09-20 23:54:23 +02:00
|
|
|
};
|
|
|
|
}
|