diff options
| author | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2024-08-17 10:48:42 -0400 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-09-04 03:12:46 +0000 |
| commit | c1a0bc43be51452938f8b88275eae420524ab7f9 (patch) | |
| tree | 9983ef7c829e4d032c708da96f3f8f0ec8d9d18c | |
| parent | cpu-x: modernise (diff) | |
| download | nixpkgs-c1a0bc43be51452938f8b88275eae420524ab7f9.tar.gz | |
cpu-x: add version testorigin/backport-335367-to-release-24.05
(cherry picked from commit 9cd5d1183c001d9766b4189d1ccc370efd742d49)
| -rw-r--r-- | pkgs/by-name/cp/cpu-x/package.nix | 7 |
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"; |
