nixpkgs/pkgs/os-specific/linux/alsa-plugins/default.nix
Vladimír Čunát 1a1c83fa77 alsa{Lib,Plugins}: update to 1.28.0
Dropped unrecognized option, patch no longer applying, fixed licenses.
2014-06-19 20:24:23 +02:00

27 lines
768 B
Nix

{ stdenv, fetchurl, lib, pkgconfig, alsaLib, pulseaudio ? null, jackaudio ? null }:
stdenv.mkDerivation rec {
name = "alsa-plugins-1.0.28";
src = fetchurl {
urls = [
"ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2"
"http://alsa.cybermirror.org/plugins/${name}.tar.bz2"
];
sha256 = "081is33afhykb4ysll8s6gh0d6nm1cglslj9ck0disbyl3qqlvs2";
};
# ToDo: a52, etc.?
buildInputs =
[ pkgconfig alsaLib ]
++ lib.optional (pulseaudio != null) pulseaudio
++ lib.optional (jackaudio != null) jackaudio;
meta = with lib; {
description = "Various plugins for ALSA";
homepage = http://alsa-project.org/;
license = licenses.gpl2;
maintainers = [maintainers.marcweber];
platforms = platforms.linux;
};
}