wasm-bindgen-cli: 0.2.64 -> 0.2.65
https://github.com/rustwasm/wasm-bindgen/releases/tag/0.2.65
This commit is contained in:
parent
3f18f9b5c3
commit
3f4a78f749
File diff suppressed because it is too large
Load Diff
2551
pkgs/development/tools/wasm-bindgen-cli/Cargo.lock
generated
Normal file
2551
pkgs/development/tools/wasm-bindgen-cli/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,21 +1,29 @@
|
|||||||
{ rustPlatform, fetchFromGitHub, lib, openssl, pkgconfig, stdenv, curl, Security, ... }:
|
{ rustPlatform, fetchFromGitHub, lib, openssl, pkgconfig, stdenv, curl, Security
|
||||||
|
, runCommand
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wasm-bindgen-cli";
|
pname = "wasm-bindgen-cli";
|
||||||
version = "0.2.64";
|
version = "0.2.65";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src =
|
||||||
owner = "rustwasm";
|
let
|
||||||
repo = "wasm-bindgen";
|
tarball = fetchFromGitHub {
|
||||||
rev = version;
|
owner = "rustwasm";
|
||||||
sha256 = "1h8sxa15v4l6m4b82p0rlg7ilzfjdz2x7lipampapb9yzn9c5dcs";
|
repo = "wasm-bindgen";
|
||||||
};
|
rev = version;
|
||||||
|
sha256 = "0qfz5x2hmfxz0kjc1biki0748d4qi8ws0b4bx9y2fs8dgbnppkzf";
|
||||||
|
};
|
||||||
|
in runCommand "source" { } ''
|
||||||
|
cp -R ${tarball} $out
|
||||||
|
chmod -R +w $out
|
||||||
|
cp ${./Cargo.lock} $out/Cargo.lock
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
cargoSha256 = "1pynk2yisv6ryj1rlwx8bv6akjm39i3d6sd8f42b5v1w5vsg0nqm";
|
cargoSha256 = "1rjf4f8hm4vqjcdhi7s5az8p5633dg425m8hh32kakq1ar06pfvj";
|
||||||
cargoPatches = [ ./0001-Add-cargo.lock.patch ];
|
|
||||||
cargoBuildFlags = [ "-p" pname ];
|
cargoBuildFlags = [ "-p" pname ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user