summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-08-17 10:48:42 -0400
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-09-04 03:12:46 +0000
commitc1a0bc43be51452938f8b88275eae420524ab7f9 (patch)
tree9983ef7c829e4d032c708da96f3f8f0ec8d9d18c
parentcpu-x: modernise (diff)
downloadnixpkgs-c1a0bc43be51452938f8b88275eae420524ab7f9.tar.gz
(cherry picked from commit 9cd5d1183c001d9766b4189d1ccc370efd742d49)
-rw-r--r--pkgs/by-name/cp/cpu-x/package.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/by-name/cp/cpu-x/package.nix b/pkgs/by-name/cp/cpu-x/package.nix
index d4ab11c1e537..372ebbce2a50 100644
--- a/pkgs/by-name/cp/cpu-x/package.nix
+++ b/pkgs/by-name/cp/cpu-x/package.nix
@@ -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";