nixpkgs/pkgs/os-specific/linux/alsa-utils/default.nix
Eelco Dolstra 641576e0cc * Fix alsa-utils. http://hydra.nixos.org/eval/603729
svn path=/nixpkgs/trunk/; revision=33782
2012-04-14 11:46:45 +00:00

28 lines
784 B
Nix

{stdenv, fetchurl, alsaLib, gettext, ncurses}:
stdenv.mkDerivation rec {
name = "alsa-utils-1.0.25";
src = fetchurl {
url = "ftp://ftp.alsa-project.org/pub/utils/${name}.tar.bz2";
sha256 = "0b1hbdq1bdkbz72zdfy5cgp75jqpysb0mqb0n9wy5gsbccpnlrrf";
};
buildInputs = [ alsaLib ncurses ];
buildNativeInputs = [ gettext ];
configureFlags = "--disable-xmlto --with-udev-rules-dir=$(out)/lib/udev/rules.d";
installFlags = "ASOUND_STATE_DIR=$(TMPDIR)/dummy";
meta = {
description = "ALSA, the Advanced Linux Sound Architecture utils";
longDescription = ''
The Advanced Linux Sound Architecture (ALSA) provides audio and
MIDI functionality to the Linux-based operating system.
'';
homepage = http://www.alsa-project.org/;
};
}