nixpkgs/pkgs/os-specific/linux/alsa-plugins/default.nix
Eelco Dolstra 65be4d7202 * alsa-plugins 1.0.24 seems to break the PulseAudio plugin (playback
in Audacious and Spotify stops after a second or so), so revert to
  1.0.23.

svn path=/nixpkgs/branches/kde-4.7/; revision=27957
2011-07-26 01:19:35 +00:00

24 lines
680 B
Nix

{ stdenv, fetchurl, lib, pkgconfig, alsaLib, pulseaudio ? null, jackaudio ? null }:
stdenv.mkDerivation rec {
name = "alsa-plugins-1.0.23";
src = fetchurl {
url = "ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2";
sha256 = "10ri5dpmhk028r0qvajswh2xl40kjd600h7hykq03vrkmn8jf6sw";
};
buildInputs =
[ pkgconfig alsaLib ]
++ stdenv.lib.optional (pulseaudio != null) pulseaudio
++ stdenv.lib.optional (jackaudio != null) jackaudio;
meta = {
description = "Various plugins for ALSA";
homepage = http://alsa-project.org/;
license = "GPL2.1";
maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux;
};
}