2015-04-26 05:43:37 +01:00
|
|
|
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
2011-07-26 01:05:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-06-15 16:06:18 +01:00
|
|
|
name = "alsa-plugins-1.1.4";
|
2009-09-20 22:54:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-11-22 01:29:27 +00:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2"
|
|
|
|
"http://alsa.cybermirror.org/plugins/${name}.tar.bz2"
|
|
|
|
];
|
2017-06-15 16:06:18 +01:00
|
|
|
sha256 = "12hsvm6rpinjkg06pa9hzndkdrbfw6wk6yk00cm8y1gbv8xiq3ak";
|
2009-09-20 22:54:23 +01:00
|
|
|
};
|
|
|
|
|
2014-06-19 19:24:23 +01:00
|
|
|
# ToDo: a52, etc.?
|
2011-07-26 01:05:10 +01:00
|
|
|
buildInputs =
|
2014-06-19 15:59:54 +01:00
|
|
|
[ pkgconfig alsaLib libogg ]
|
2015-04-26 05:43:37 +01:00
|
|
|
++ lib.optional (libpulseaudio != null) libpulseaudio
|
|
|
|
++ lib.optional (libjack2 != null) libjack2;
|
2009-09-20 22:54:23 +01:00
|
|
|
|
2014-06-19 19:24:23 +01:00
|
|
|
meta = with lib; {
|
2011-07-26 01:05:10 +01:00
|
|
|
description = "Various plugins for ALSA";
|
|
|
|
homepage = http://alsa-project.org/;
|
2014-08-02 04:08:07 +01:00
|
|
|
license = licenses.lgpl21;
|
2014-06-19 19:24:23 +01:00
|
|
|
maintainers = [maintainers.marcweber];
|
|
|
|
platforms = platforms.linux;
|
2009-09-20 22:54:23 +01:00
|
|
|
};
|
|
|
|
}
|