diff --git a/pkgs/development/compilers/uasm/default.nix b/pkgs/development/compilers/uasm/default.nix index a08e232c962e..7356175c87c4 100644 --- a/pkgs/development/compilers/uasm/default.nix +++ b/pkgs/development/compilers/uasm/default.nix @@ -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";