wasm-bindgen-cli: 0.2.73 -> 0.2.74
This commit is contained in:
parent
c21b54701b
commit
ca27566a8a
917
pkgs/development/tools/wasm-bindgen-cli/Cargo.lock
generated
917
pkgs/development/tools/wasm-bindgen-cli/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,17 @@
|
|||||||
{ rustPlatform, fetchFromGitHub, lib, openssl, pkg-config, stdenv, curl, Security
|
{ rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lib
|
||||||
|
, openssl
|
||||||
|
, pkg-config
|
||||||
|
, stdenv
|
||||||
|
, curl
|
||||||
|
, Security
|
||||||
, runCommand
|
, runCommand
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wasm-bindgen-cli";
|
pname = "wasm-bindgen-cli";
|
||||||
version = "0.2.73";
|
version = "0.2.74";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
let
|
let
|
||||||
@ -12,9 +19,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
owner = "rustwasm";
|
owner = "rustwasm";
|
||||||
repo = "wasm-bindgen";
|
repo = "wasm-bindgen";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-JrfS9Z/ZqhoZXJxrxMSLpl2NiktTUkjW6q3xN9AU2zw=";
|
hash = "sha256-GsraYfWzUZjFpPpufTyXF0i2llBzjh04iTKio6m4NRA=";
|
||||||
};
|
};
|
||||||
in runCommand "source" { } ''
|
in
|
||||||
|
runCommand "source" { } ''
|
||||||
cp -R ${tarball} $out
|
cp -R ${tarball} $out
|
||||||
chmod -R +w $out
|
chmod -R +w $out
|
||||||
cp ${./Cargo.lock} $out/Cargo.lock
|
cp ${./Cargo.lock} $out/Cargo.lock
|
||||||
@ -23,7 +31,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
cargoSha256 = "sha256-GUdoOms4FrNmPkELFX1PXcU/ww7CSN8JGHoCvnm73PQ=";
|
cargoHash = "sha256-djeI7kSGRHMpXnsbVlM2CDek02u5tFAsyAdHwbKC0y8=";
|
||||||
cargoBuildFlags = [ "-p" pname ];
|
cargoBuildFlags = [ "-p" pname ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user