2011-07-26 01:05:10 +01:00
|
|
|
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, pulseaudio ? null, jackaudio ? null }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-04-13 15:54:02 +01:00
|
|
|
name = "alsa-plugins-1.0.25";
|
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";
|
2012-04-13 15:54:02 +01:00
|
|
|
sha256 = "1assar5k8zb2srqdcph6a54daqfymlyygdm5fcs6isaydpyp9qx0";
|
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
|
|
|
};
|
|
|
|
}
|