hardinfo2: 2.2.7 -> 2.2.10 (#394424)

This commit is contained in:
Peder Bergebakken Sundt
2025-04-17 17:36:17 +02:00
committed by GitHub
+11 -2
View File
@@ -26,17 +26,20 @@
util-linux,
libXdmcp,
libXtst,
mesa-demos,
makeWrapper,
dmidecode,
}:
stdenv.mkDerivation (finalAtrs: {
pname = "hardinfo2";
version = "2.2.7";
version = "2.2.10";
src = fetchFromGitHub {
owner = "hardinfo2";
repo = "hardinfo2";
tag = "release-${finalAtrs.version}";
hash = "sha256-IIH2SH4Ph25VFx652RQFZX8rL0ZlwjjfVrb+txLF3Ks=";
hash = "sha256-Ea1uhzAQEn8oDvWslGzrqoI2yzVDGxwTqbthfKEkYyQ=";
};
nativeBuildInputs = [
@@ -44,6 +47,7 @@ stdenv.mkDerivation (finalAtrs: {
pkg-config
wrapGAppsHook4
libsForQt5.wrapQtAppsHook
makeWrapper
];
preFixup = ''
@@ -80,6 +84,11 @@ stdenv.mkDerivation (finalAtrs: {
(lib.cmakeFeature "CMAKE_INSTALL_SERVICEDIR" "${placeholder "out"}/lib")
];
postFixup = ''
wrapProgram $out/bin/hardinfo2 \
--prefix PATH : "${dmidecode}/bin:${mesa-demos}/bin"
'';
meta = {
homepage = "http://www.hardinfo2.org";
description = "System information and benchmarks for Linux systems";