nixpkgs/pkgs/os-specific/linux/alsa/common.nix
Ludovic Courtès d17d9dfb39 ALSA 1.0.19.
svn path=/nixpkgs/trunk/; revision=13808
2009-01-19 20:21:23 +00:00

22 lines
627 B
Nix

{aName, sha256, buildInputs ? [], propagatedBuildInputs ? [] } :
args: with args; stdenv.mkDerivation rec {
name = "alsa-" + aName + "-" + version;
src = fetchurl {
url = "ftp://ftp.alsa-project.org/pub/" + aName + "/" + name + ".tar.bz2";
inherit sha256;
};
inherit buildInputs propagatedBuildInputs;
meta = {
description = "ALSA, the Advanced Linux Sound Architecture (${aName})";
longDescription = ''
The Advanced Linux Sound Architecture (ALSA) provides audio and
MIDI functionality to the Linux-based operating system.
'';
homepage = http://www.alsa-project.org/;
};
}