3
0
Fork 0
forked from mirrors/nixpkgs

uasm: add testVersion

This commit is contained in:
Thiago Kenji Okada 2022-04-18 23:33:19 +01:00
parent b2d35019c0
commit e277cf18e2

View file

@ -1,4 +1,10 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, testVersion
, uasm
}:
stdenv.mkDerivation rec {
pname = "uasm";
@ -41,6 +47,12 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.tests.version = testVersion {
package = uasm;
command = "uasm -h";
version = "v${version}";
};
meta = with lib; {
homepage = "http://www.terraspace.co.uk/uasm.html";
description = "A free MASM-compatible assembler based on JWasm";