1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/os-specific/linux/alsa-plugins/default.nix
2017-06-19 20:00:29 +02:00

28 lines
790 B
Nix

{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
stdenv.mkDerivation rec {
name = "alsa-plugins-1.1.4";
src = fetchurl {
urls = [
"ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2"
"http://alsa.cybermirror.org/plugins/${name}.tar.bz2"
];
sha256 = "12hsvm6rpinjkg06pa9hzndkdrbfw6wk6yk00cm8y1gbv8xiq3ak";
};
# 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;
};
}