Merge pull request #232070 from jneem/wasm-bindgen-bump
wasm-bindgen-cli: 0.2.84 -> 0.2.87
This commit is contained in:
commit
9f8d4f0d4b
|
@ -7,28 +7,27 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, curl
|
, curl
|
||||||
, Security
|
, Security
|
||||||
, runCommand
|
, version ? "0.2.87"
|
||||||
|
, hash ? "sha256-0u9bl+FkXEK2b54n7/l9JOCtKo+pb42GF9E1EnAUQa0="
|
||||||
|
, cargoHash ? "sha256-AsZBtE2qHJqQtuCt/wCAgOoxYMfvDh8IzBPAOkYSYko="
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wasm-bindgen-cli";
|
pname = "wasm-bindgen-cli";
|
||||||
version = "0.2.84";
|
inherit version hash cargoHash;
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version hash;
|
||||||
sha256 = "sha256-0rK+Yx4/Jy44Fw5VwJ3tG243ZsyOIBBehYU54XP/JGk=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-vcpxcRlW1OKoD64owFF6mkxSqmNrvY+y3Ckn5UwEQ50=";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl Security ];
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl Security ];
|
||||||
|
|
||||||
nativeCheckInputs = [ nodejs ];
|
nativeCheckInputs = [ nodejs ];
|
||||||
|
|
||||||
# other tests require it to be ran in the wasm-bindgen monorepo
|
# tests require it to be ran in the wasm-bindgen monorepo
|
||||||
cargoTestFlags = [ "--test=interface-types" ];
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://rustwasm.github.io/docs/wasm-bindgen/";
|
homepage = "https://rustwasm.github.io/docs/wasm-bindgen/";
|
||||||
|
|
|
@ -32,6 +32,12 @@ let
|
||||||
configureFlags = attrs.configureFlags ++ ["--set=build.docs=false"];
|
configureFlags = attrs.configureFlags ++ ["--set=build.docs=false"];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
wasm-bindgen-84 = wasm-bindgen-cli.override {
|
||||||
|
version = "0.2.84";
|
||||||
|
hash = "sha256-0rK+Yx4/Jy44Fw5VwJ3tG243ZsyOIBBehYU54XP/JGk=";
|
||||||
|
cargoHash = "sha256-vcpxcRlW1OKoD64owFF6mkxSqmNrvY+y3Ckn5UwEQ50=";
|
||||||
|
};
|
||||||
|
|
||||||
commonDerivationAttrs = rec {
|
commonDerivationAttrs = rec {
|
||||||
pname = "lldap";
|
pname = "lldap";
|
||||||
version = "0.4.3";
|
version = "0.4.3";
|
||||||
|
@ -65,7 +71,7 @@ let
|
||||||
pname = commonDerivationAttrs.pname + "-frontend";
|
pname = commonDerivationAttrs.pname + "-frontend";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
wasm-pack wasm-bindgen-cli binaryen which rustc-wasm rustc-wasm.llvmPackages.lld
|
wasm-pack wasm-bindgen-84 binaryen which rustc-wasm rustc-wasm.llvmPackages.lld
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue