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