wasm-gc: remove package

The upstream repository has been archived, with a note that this should never be needed:
https://github.com/alexcrichton/wasm-gc

It also happens to have custom patch logic that will fail the newer cargo
verification in #79975
This commit is contained in:
Benjamin Hipple 2020-02-15 23:09:32 -05:00
parent 6d881472ef
commit 31971254d7
3 changed files with 1 additions and 65 deletions

View File

@ -1,28 +0,0 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "wasm-gc";
version = "0.1.6";
src = fetchFromGitHub {
owner = "alexcrichton";
repo = "wasm-gc";
rev = version;
sha256 = "1lc30xxqp3vv1r269xzznh2lf2dzdq89bi5f1vmqjw4yc3xmawm7";
};
cargoPatches = [ ./fix-build.patch ]; # Cargo.lock is not up-to-date
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "073dnn80sl4adh7vi6q9sx2vkmy27gxy7ysxz17iz12p7pfcagm2";
meta = with stdenv.lib; {
description = "gc-sections for wasm";
homepage = "https://github.com/alexcrichton/wasm-gc";
maintainers = with maintainers; [ ekleog ];
platforms = platforms.all;
license = with licenses; [ mit asl20 ];
};
}

View File

@ -1,34 +0,0 @@
diff --git a/Cargo.lock b/Cargo.lock
index 923ed91..71f17c8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -212,16 +212,16 @@ dependencies = [
[[package]]
name = "wasm-gc"
-version = "0.1.1"
+version = "0.1.6"
dependencies = [
"env_logger 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)",
"getopts 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
- "wasm-gc-api 0.1.5",
+ "wasm-gc-api 0.1.6",
]
[[package]]
name = "wasm-gc-api"
-version = "0.1.5"
+version = "0.1.6"
dependencies = [
"log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-wasm 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -234,7 +234,7 @@ version = "0.1.0"
dependencies = [
"cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"wasm-bindgen 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "wasm-gc-api 0.1.5",
+ "wasm-gc-api 0.1.6",
]
[[package]]

View File

@ -9506,8 +9506,6 @@ in
proglodyte-wasm = callPackage ../development/interpreters/proglodyte-wasm { };
wasm-gc = callPackage ../development/interpreters/wasm-gc { };
### DEVELOPMENT / MISC
@ -11488,7 +11486,7 @@ in
};
gdal = callPackage ../development/libraries/gdal {
pythonPackages = python3Packages;
pythonPackages = python3Packages;
};
gdal_1_11 = callPackage ../development/libraries/gdal/gdal-1_11.nix { };