2015-04-26 04:43:37 +00:00
|
|
|
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
2011-07-26 00:05:10 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-11 20:46:35 +00:00
|
|
|
pname = "alsa-plugins";
|
2019-11-25 07:14:21 +00:00
|
|
|
version = "1.2.1";
|
2009-09-20 21:54:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-11 20:46:35 +00:00
|
|
|
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
|
2019-11-25 07:14:21 +00:00
|
|
|
sha256 = "1nj8cpbi05rb62yzs01c1k7lymdn1ch229b599hbhd0psixdx52d";
|
2009-09-20 21:54:23 +00:00
|
|
|
};
|
|
|
|
|
2014-06-19 18:24:23 +00:00
|
|
|
# ToDo: a52, etc.?
|
2011-07-26 00:05:10 +00:00
|
|
|
buildInputs =
|
2014-06-19 14:59:54 +00:00
|
|
|
[ pkgconfig alsaLib libogg ]
|
2015-04-26 04:43:37 +00:00
|
|
|
++ lib.optional (libpulseaudio != null) libpulseaudio
|
|
|
|
++ lib.optional (libjack2 != null) libjack2;
|
2009-09-20 21:54:23 +00:00
|
|
|
|
2014-06-19 18:24:23 +00:00
|
|
|
meta = with lib; {
|
2011-07-26 00:05:10 +00:00
|
|
|
description = "Various plugins for ALSA";
|
|
|
|
homepage = http://alsa-project.org/;
|
2014-08-02 03:08:07 +00:00
|
|
|
license = licenses.lgpl21;
|
2014-06-19 18:24:23 +00:00
|
|
|
maintainers = [maintainers.marcweber];
|
|
|
|
platforms = platforms.linux;
|
2009-09-20 21:54:23 +00:00
|
|
|
};
|
|
|
|
}
|