cpu-x: add version test

This commit is contained in:
éclairevoyant 2024-08-17 10:48:42 -04:00
parent 6a23789fda
commit 9cd5d1183c
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -1,5 +1,6 @@
{
lib,
testers,
stdenv,
fetchFromGitHub,
cmake,
@ -87,6 +88,12 @@ stdenv.mkDerivation (finalAttrs: {
)
'';
passthru = {
tests = {
version = testers.testVersion { package = finalAttrs.finalPackage; };
};
};
meta = {
description = "Free software that gathers information on CPU, motherboard and more";
mainProgram = "cpu-x";