upx: add version test

This commit is contained in:
Paul Meyer 2023-12-09 22:57:51 +01:00
parent 7bc4955aaa
commit 3ca45e2bbb

View File

@ -3,6 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, nix-update-script , nix-update-script
, testers
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -20,6 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };
tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
}; };
meta = with lib; { meta = with lib; {