2011-07-26 02:05:10 +02:00
|
|
|
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, pulseaudio ? null, jackaudio ? null }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-06-19 20:24:23 +02:00
|
|
|
name = "alsa-plugins-1.0.28";
|
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"
|
|
|
|
];
|
2014-06-19 20:24:23 +02:00
|
|
|
sha256 = "081is33afhykb4ysll8s6gh0d6nm1cglslj9ck0disbyl3qqlvs2";
|
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 =
|
|
|
|
[ pkgconfig alsaLib ]
|
2014-06-19 20:24:23 +02:00
|
|
|
++ lib.optional (pulseaudio != null) pulseaudio
|
|
|
|
++ lib.optional (jackaudio != null) jackaudio;
|
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-06-19 20:24:23 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [maintainers.marcweber];
|
|
|
|
platforms = platforms.linux;
|
2009-09-20 23:54:23 +02:00
|
|
|
};
|
|
|
|
}
|