mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
hardinfo2: 2.2.7 -> 2.2.10
This commit is contained in:
parent
94f16f2708
commit
39314dd6cf
1 changed files with 11 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue