From ff0fc41c423a8c7984ccc72bb4c52ba6ef06e1b3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 13:10:01 +0000 Subject: [PATCH 1/2] cpu-x: 4.5.1 -> 4.5.2 --- pkgs/applications/misc/cpu-x/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/cpu-x/default.nix b/pkgs/applications/misc/cpu-x/default.nix index 4fc4dd8b6108..9b27e434c440 100644 --- a/pkgs/applications/misc/cpu-x/default.nix +++ b/pkgs/applications/misc/cpu-x/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "cpu-x"; - version = "4.5.1"; + version = "4.5.2"; src = fetchFromGitHub { owner = "X0rg"; repo = "CPU-X"; rev = "v${version}"; - sha256 = "sha256-rmRfKw2KMLsO3qfy2QznCIugvM2CLSxBUDgIzONYULk="; + sha256 = "sha256-VPmwnzoOBNLDYZsoEknbcX7QP2Tcm08pL/rw1uCK8xM="; }; nativeBuildInputs = [ cmake pkg-config wrapGAppsHook nasm makeWrapper ]; From ee04a188bd7db2443e9d2a1eb5376475bf57d5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 22 Nov 2022 21:19:54 +1100 Subject: [PATCH 2/2] cpu-x: update homepage and annotate a known issue --- pkgs/applications/misc/cpu-x/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/cpu-x/default.nix b/pkgs/applications/misc/cpu-x/default.nix index 9b27e434c440..197e7ec86d08 100644 --- a/pkgs/applications/misc/cpu-x/default.nix +++ b/pkgs/applications/misc/cpu-x/default.nix @@ -9,6 +9,11 @@ , libXtst }: +# Known issues: +# - The daemon can't be started from the GUI, because pkexec requires a shell +# registered in /etc/shells. The nix's bash is not in there when running +# cpu-x from nixpkgs. + stdenv.mkDerivation rec { pname = "cpu-x"; version = "4.5.2"; @@ -40,7 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Free software that gathers information on CPU, motherboard and more"; - homepage = src.meta.homepage; + homepage = "https://thetumultuousunicornofdarkness.github.io/CPU-X"; license = licenses.gpl3Plus; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ viraptor ];