2011-07-26 00:05:10 +00:00
|
|
|
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, pulseaudio ? null, jackaudio ? null }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-07-26 01:19:35 +00:00
|
|
|
name = "alsa-plugins-1.0.23";
|
2009-09-20 21:54:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-07-26 00:05:10 +00:00
|
|
|
url = "ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2";
|
2011-07-26 01:19:35 +00:00
|
|
|
sha256 = "10ri5dpmhk028r0qvajswh2xl40kjd600h7hykq03vrkmn8jf6sw";
|
2009-09-20 21:54:23 +00:00
|
|
|
};
|
|
|
|
|
2011-07-26 00:05:10 +00:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig alsaLib ]
|
|
|
|
++ stdenv.lib.optional (pulseaudio != null) pulseaudio
|
|
|
|
++ stdenv.lib.optional (jackaudio != null) jackaudio;
|
2009-09-20 21:54:23 +00:00
|
|
|
|
|
|
|
meta = {
|
2011-07-26 00:05:10 +00:00
|
|
|
description = "Various plugins for ALSA";
|
|
|
|
homepage = http://alsa-project.org/;
|
2009-09-20 21:54:23 +00:00
|
|
|
license = "GPL2.1";
|
2010-05-27 19:33:52 +00:00
|
|
|
maintainers = [lib.maintainers.marcweber];
|
|
|
|
platforms = lib.platforms.linux;
|
2009-09-20 21:54:23 +00:00
|
|
|
};
|
|
|
|
}
|