Merge branch 'master.upstream' into staging.upstream

This commit is contained in:
William A. Kennington III
2015-07-13 15:11:31 -07:00
178 changed files with 2917 additions and 1932 deletions
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, rustPlatform, file, curl, python, pkgconfig, openssl
, cmake, zlib }:
with ((import ./common.nix) { inherit stdenv; version = "2015-05-13"; });
with ((import ./common.nix) { inherit stdenv; version = "0.3.0"; });
with rustPlatform;
@@ -10,12 +10,12 @@ buildRustPackage rec {
src = fetchgit {
url = "https://github.com/rust-lang/cargo.git";
rev = "d814fcbf8efda3027d54c09e11aa7eaf0006a83c";
sha256 = "0sppd3x2cacmbnypcjip44amnh66lrrbwwzsbz8rqf3nq2ah496x";
rev = "refs/tags/0.3.0";
sha256 = "1ckb2xd7nm8357imw6b1ci2ar8grnihzan94kvmjrijq6sz8yv9i";
leaveDotGit = true;
};
depsSha256 = "1b0mpdxmp7inkg59n2phjwzpz5gx22wqg9rfd1s01a5ylara37jw";
depsSha256 = "1sgdr2akd9xrfmf5g0lbf842b2pdj1ymxk37my0cf2x349rjsf0w";
buildInputs = [ file curl pkgconfig python openssl cmake zlib ];
@@ -2,19 +2,19 @@
/* Cargo binary snapshot */
let snapshotDate = "2015-04-02";
let snapshotDate = "2015-06-17";
in
with ((import ./common.nix) { inherit stdenv; version = "snapshot-${snapshotDate}"; });
let snapshotHash = if stdenv.system == "i686-linux"
then "ba6c162680d5509d89ba2363d7cae2047f40c034"
then "g2h9l35123r72hqdwayd9h79kspfb4y9"
else if stdenv.system == "x86_64-linux"
then "94f715c9a52809a639f2ce6f8b1d5215a0c272b5"
then "fnx2rf1j8zvrplcc7xzf89czn0hf3397"
else if stdenv.system == "i686-darwin"
then "cf333f16f89bfd50e8ce461c6f81ca30d33f7f73"
then "3viz3fi2jx18qjwrc90nfhm9cik59my6"
else if stdenv.system == "x86_64-darwin"
then "1f7008a6ec860e2bc7580e71bdf320ac518ddeb8"
then "h2bf3db4vwz5cjjkn98lxayivdc6dflp"
else throw "no snapshot for platform ${stdenv.system}";
snapshotName = "cargo-nightly-${platform}.tar.gz";
in