forked from mirrors/nixpkgs
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
|
||||
}:
|
||||
|
||||
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; {
|
||||
|
|
Loading…
Reference in a new issue