2008-01-28 20:48:21 +01:00
|
|
|
args: with args;
|
|
|
|
let
|
|
|
|
flacFun = version: hash:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "flac-${version}";
|
|
|
|
src = fetchurl ({
|
|
|
|
url = "http://downloads.xiph.org/releases/flac/${name}.tar.gz";
|
|
|
|
} // hash);
|
|
|
|
buildInputs = [libogg];
|
2008-01-30 20:49:42 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://flac.sourceforge.net;
|
|
|
|
};
|
2008-01-28 20:48:21 +01:00
|
|
|
};
|
|
|
|
in
|
|
|
|
stdenv.lib.listOfListsToAttrs [
|
|
|
|
[ "default" (flacFun "1.2.1" { sha256 = "1pry5lgzfg57pga1zbazzdd55fkgk3v5qy4axvrbny5lrr5s8dcn"; }) ]
|
|
|
|
[ "1.2.1" (flacFun "1.2.1" { sha256 = "1pry5lgzfg57pga1zbazzdd55fkgk3v5qy4axvrbny5lrr5s8dcn"; }) ]
|
|
|
|
[ "1.1.2" (flacFun "1.1.2" { md5 = "2bfc127cdda02834d0491ab531a20960"; }) ]
|
|
|
|
]
|