wizer: add version test
This commit is contained in:
parent
4ddacf30c8
commit
79375858dd
|
@ -1,4 +1,10 @@
|
||||||
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, testers
|
||||||
|
, wizer
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wizer";
|
pname = "wizer";
|
||||||
|
@ -26,6 +32,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
version = testers.testVersion { package = wizer; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The WebAssembly pre-initializer";
|
description = "The WebAssembly pre-initializer";
|
||||||
homepage = "https://github.com/bytecodealliance/wizer";
|
homepage = "https://github.com/bytecodealliance/wizer";
|
||||||
|
|
Loading…
Reference in a new issue