Merge pull request #202330 from viraptor/cpu-x-update-452

cpu-x: 4.5.1 -> 4.5.2
This commit is contained in:
Stanisław Pitucha 2023-01-06 11:33:11 +11:00 committed by GitHub
commit 27c263f3de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,15 +9,20 @@
, 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.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 ];
@ -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 ];