wasm-bindgen-cli: 0.2.73 -> 0.2.74

This commit is contained in:
zimbatm 2021-06-08 23:22:26 +02:00
parent c21b54701b
commit ca27566a8a
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
2 changed files with 525 additions and 410 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,17 @@
{ rustPlatform, fetchFromGitHub, lib, openssl, pkg-config, stdenv, curl, Security
{ rustPlatform
, fetchFromGitHub
, lib
, openssl
, pkg-config
, stdenv
, curl
, Security
, runCommand
}:
rustPlatform.buildRustPackage rec {
pname = "wasm-bindgen-cli";
version = "0.2.73";
version = "0.2.74";
src =
let
@ -12,9 +19,10 @@ rustPlatform.buildRustPackage rec {
owner = "rustwasm";
repo = "wasm-bindgen";
rev = version;
sha256 = "sha256-JrfS9Z/ZqhoZXJxrxMSLpl2NiktTUkjW6q3xN9AU2zw=";
hash = "sha256-GsraYfWzUZjFpPpufTyXF0i2llBzjh04iTKio6m4NRA=";
};
in runCommand "source" { } ''
in
runCommand "source" { } ''
cp -R ${tarball} $out
chmod -R +w $out
cp ${./Cargo.lock} $out/Cargo.lock
@ -23,7 +31,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
nativeBuildInputs = [ pkg-config ];
cargoSha256 = "sha256-GUdoOms4FrNmPkELFX1PXcU/ww7CSN8JGHoCvnm73PQ=";
cargoHash = "sha256-djeI7kSGRHMpXnsbVlM2CDek02u5tFAsyAdHwbKC0y8=";
cargoBuildFlags = [ "-p" pname ];
meta = with lib; {