14 lines
377 B
Nix
14 lines
377 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 = { homepage = http://www.alsa-project.org; };
|
||
|
}
|