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