forked from mirrors/nixpkgs
920d066ded
alsaPlugins: 1.1.8 -> 1.1.9
26 lines
726 B
Nix
26 lines
726 B
Nix
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "alsa-plugins";
|
|
version = "1.1.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
|
|
sha256 = "01zrg0h2jw9dlj9233vjsn916yf4f2s667yry6xsn8d57lq745qn";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|