wizer: add version test

This commit is contained in:
amesgen 2023-02-07 22:08:11 +01:00
parent 4ddacf30c8
commit 79375858dd
No known key found for this signature in database
GPG key ID: 1A89EC203635A13D

View file

@ -1,4 +1,10 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, testers
, wizer
}:
rustPlatform.buildRustPackage rec {
pname = "wizer";
@ -26,6 +32,10 @@ rustPlatform.buildRustPackage rec {
export HOME=$(mktemp -d)
'';
passthru.tests = {
version = testers.testVersion { package = wizer; };
};
meta = with lib; {
description = "The WebAssembly pre-initializer";
homepage = "https://github.com/bytecodealliance/wizer";