wit-bindgen: init at 0.4.0
This commit is contained in:
parent
518928217c
commit
c0baa0ddf2
32
pkgs/tools/misc/wit-bindgen/default.nix
Normal file
32
pkgs/tools/misc/wit-bindgen/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "wit-bindgen";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bytecodealliance";
|
||||||
|
repo = "wit-bindgen";
|
||||||
|
rev = "wit-bindgen-cli-${version}";
|
||||||
|
hash = "sha256-OLBuzYAeUaJrn9cUqw6nStE468TqTUXeUnfkdMO0D3w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-blaSgQZweDmkiU0Tck9qmIgpQGDZhgxb1+hs6a4D6Qg=";
|
||||||
|
|
||||||
|
# Some tests fail because they need network access to install the `wasm32-unknown-unknown` target.
|
||||||
|
# However, GitHub Actions ensures a proper build.
|
||||||
|
# See also:
|
||||||
|
# https://github.com/bytecodealliance/wit-bindgen/actions
|
||||||
|
# https://github.com/bytecodealliance/wit-bindgen/blob/main/.github/workflows/main.yml
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A language binding generator for WebAssembly interface types";
|
||||||
|
homepage = "https://github.com/bytecodealliance/wit-bindgen";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ xrelkd ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -13386,6 +13386,8 @@ with pkgs;
|
||||||
|
|
||||||
wimboot = callPackage ../tools/misc/wimboot { };
|
wimboot = callPackage ../tools/misc/wimboot { };
|
||||||
|
|
||||||
|
wit-bindgen = callPackage ../tools/misc/wit-bindgen { };
|
||||||
|
|
||||||
wire = callPackage ../development/tools/wire { };
|
wire = callPackage ../development/tools/wire { };
|
||||||
|
|
||||||
wireguard-tools = callPackage ../tools/networking/wireguard-tools { };
|
wireguard-tools = callPackage ../tools/networking/wireguard-tools { };
|
||||||
|
|
Loading…
Reference in a new issue