MinGW 3.20, and w32api 3.17-2.

svn path=/nixpkgs/trunk/; revision=31926
This commit is contained in:
Ludovic Courtès 2012-01-30 09:53:39 +00:00
parent 55e74d5e9a
commit 67a45c1d25
2 changed files with 11 additions and 8 deletions

View File

@ -1,14 +1,14 @@
{stdenv, fetchurl, binutilsCross ? null, gccCross ? null, onlyHeaders ? false}: {stdenv, fetchurl, binutilsCross ? null, gccCross ? null, onlyHeaders ? false}:
let let
name = "mingwrt-3.18"; name = "mingwrt-3.20";
in in
stdenv.mkDerivation (rec { stdenv.mkDerivation (rec {
inherit name; inherit name;
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/mingw/${name}-mingw32-src.tar.gz"; url = "mirror://sourceforge/mingw/MinGW/Base/mingw-rt/${name}-mingw32-src.tar.gz";
sha256 = "0hmxgkxnf6an70g07gmyik46sw1qm204izh6sp923szddvypjjfy"; sha256 = "02pydg1m8y35nxb4k34nlb5c341y2waq76z42mgdzlcf661r91pi";
}; };
} // } //

View File

@ -1,16 +1,19 @@
{stdenv, fetchurl, binutilsCross ? null, gccCross ? null, onlyHeaders ? false}: { stdenv, fetchurl, xz, binutilsCross ? null
, gccCross ? null, onlyHeaders ? false }:
let let
name = "w32api-3.14"; name = "w32api-3.17-2";
in in
stdenv.mkDerivation ({ stdenv.mkDerivation ({
inherit name; inherit name;
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/mingw/${name}-mingw32-src.tar.gz"; url = "mirror://sourceforge/mingw/MinGW/Base/w32api/w32api-3.17/${name}-mingw32-src.tar.lzma";
sha256 = "128ax8a4dlspxsi5fi7bi1aslppqx3kczr1ibzj1z1az48bvwp21"; sha256 = "09rhnl6zikmdyb960im55jck0rdy5z9nlg3akx68ixn7khf3j8wb";
}; };
buildNativeInputs = [ xz ];
} // } //
(if onlyHeaders then { (if onlyHeaders then {
name = name + "-headers"; name = name + "-headers";