nixpkgs/pkgs/os-specific/linux/alsa-plugins/default.nix

25 lines
698 B
Nix
Raw Normal View History

2015-04-26 04:43:37 +00:00
{ 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 ]
2015-04-26 04:43:37 +00:00
++ 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;
};
}