Graphite/.nix/overlays/wasm-bindgen-cli.nix

21 lines
799 B
Nix

# Backport of nixpkgs's `wasm-bindgen-cli_0_2_121` for the nixpkgs revision
# pinned in flake.lock (which ships only up to `_0_2_117`). Mirrors upstream
# `pkgs/by-name/wa/wasm-bindgen-cli_0_2_121/package.nix` verbatim. Same
# `buildWasmBindgenCli` helper, same hashes. Drop this overlay once flake.lock
# is bumped to a nixpkgs that exposes the attribute directly.
final: _prev: {
wasm-bindgen-cli_0_2_121 = final.buildWasmBindgenCli rec {
src = final.fetchCrate {
pname = "wasm-bindgen-cli";
version = "0.2.121";
hash = "sha256-ZOMgFNOcGkO66Jz/Z83eoIu+DIzo3Z/vq6Z5g6BDY/w=";
};
cargoDeps = final.rustPlatform.fetchCargoVendor {
inherit src;
inherit (src) pname version;
hash = "sha256-DPdCDPTAPBrbqLUqnCwQu1dePs9lGg85JCJOCIr9qjU=";
};
};
}