wizer: init at 1.4.0

This commit is contained in:
Luc Perkins 2022-08-01 18:20:52 +02:00
parent 84cc06af6f
commit 5785a37cc1
No known key found for this signature in database
GPG Key ID: 4F102D0C16E232F2
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "wizer";
version = "1.4.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-3Hc3KKqtbZtvD+3lb/W7+AyrwPukJyxpUe94KGQlzBI=";
};
cargoSha256 = "sha256-zv36/W7dNpIupYn8TS+NaF7uX+BVjrI6AW6Hrlqr8Xg=";
cargoBuildFlags = [ "--bin" pname ];
buildFeatures = [ "env_logger" "structopt" ];
# Setting $HOME to a temporary directory is necessary to prevent checks from failing, as
# the test suite creates a cache directory at $HOME/Library/Caches/BytecodeAlliance.wasmtime.
preCheck = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
description = "The WebAssembly pre-initializer";
homepage = "https://github.com/bytecodealliance/wizer";
license = licenses.asl20;
maintainers = with maintainers; [ lucperkins ];
};
}

View File

@ -35751,6 +35751,8 @@ with pkgs;
with-shell = callPackage ../applications/misc/with-shell { };
wizer = darwin.apple_sdk_11_0.callPackage ../development/tools/wizer {};
wmutils-core = callPackage ../tools/X11/wmutils-core { };
wmutils-libwm = callPackage ../tools/X11/wmutils-libwm { };