Merge pull request #138743 from SuperSandro2000/wasm-pack

wasm-pack: 0.9.1 -> 0.10.1
This commit is contained in:
Sandro 2021-09-21 13:44:38 +02:00 committed by GitHub
commit 6a8741fc5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3632 deletions

@ -9,20 +9,16 @@
rustPlatform.buildRustPackage rec {
pname = "wasm-pack";
version = "0.9.1";
version = "0.10.1";
src = fetchFromGitHub {
owner = "rustwasm";
repo = "wasm-pack";
rev = "v${version}";
sha256 = "1rqyfg6ajxxyfx87ar25nf5ck9hd0p12qgv98dicniqag8l4rvsr";
sha256 = "sha256-I5TxpJTSus3fXMV0We9SCVMEERS0wIdYvC8SHo8zEHY=";
};
cargoPatches = [
./update-deps.patch
];
cargoSha256 = "130gqvzpyr055xkqcy1r0y7l5k2dcv7n9zgr4ja7dm7iayzbwwi1";
cargoSha256 = "sha256-MmbQb2JYaDpLijKRAxzD9pR4gh+Eoem0MtfdiuRC7Tg=";
nativeBuildInputs = [ pkg-config ];
@ -33,6 +29,9 @@ rustPlatform.buildRustPackage rec {
libressl
] ++ lib.optionals stdenv.isDarwin [ curl Security ];
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
# Most tests rely on external resources and build artifacts.
# Disabling check here to work with build sandboxing.
doCheck = false;

File diff suppressed because it is too large Load Diff