d81ab0ab7d
This commit adds a list of supported mirrors for all alsa projects, as described on the download section of the alsa-project hompage: http://alsa-project.org/main/index.php/Download
25 lines
698 B
Nix
25 lines
698 B
Nix
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "alsa-plugins-1.1.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://alsa/plugins/${name}.tar.bz2";
|
|
sha256 = "04qcwkisbh0d6lnh0rw1k6n869fbs6zbfq6yvb41rymiwgmk27bg";
|
|
};
|
|
|
|
# ToDo: a52, etc.?
|
|
buildInputs =
|
|
[ pkgconfig alsaLib libogg ]
|
|
++ lib.optional (libpulseaudio != null) libpulseaudio
|
|
++ lib.optional (libjack2 != null) libjack2;
|
|
|
|
meta = with lib; {
|
|
description = "Various plugins for ALSA";
|
|
homepage = http://alsa-project.org/;
|
|
license = licenses.lgpl21;
|
|
maintainers = [maintainers.marcweber];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|