mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +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,
|
util-linux,
|
||||||
libXdmcp,
|
libXdmcp,
|
||||||
libXtst,
|
libXtst,
|
||||||
|
mesa-demos,
|
||||||
|
makeWrapper,
|
||||||
|
dmidecode,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAtrs: {
|
stdenv.mkDerivation (finalAtrs: {
|
||||||
pname = "hardinfo2";
|
pname = "hardinfo2";
|
||||||
version = "2.2.7";
|
version = "2.2.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hardinfo2";
|
owner = "hardinfo2";
|
||||||
repo = "hardinfo2";
|
repo = "hardinfo2";
|
||||||
tag = "release-${finalAtrs.version}";
|
tag = "release-${finalAtrs.version}";
|
||||||
hash = "sha256-IIH2SH4Ph25VFx652RQFZX8rL0ZlwjjfVrb+txLF3Ks=";
|
hash = "sha256-Ea1uhzAQEn8oDvWslGzrqoI2yzVDGxwTqbthfKEkYyQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -44,6 +47,7 @@ stdenv.mkDerivation (finalAtrs: {
|
||||||
pkg-config
|
pkg-config
|
||||||
wrapGAppsHook4
|
wrapGAppsHook4
|
||||||
libsForQt5.wrapQtAppsHook
|
libsForQt5.wrapQtAppsHook
|
||||||
|
makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
|
@ -80,6 +84,11 @@ stdenv.mkDerivation (finalAtrs: {
|
||||||
(lib.cmakeFeature "CMAKE_INSTALL_SERVICEDIR" "${placeholder "out"}/lib")
|
(lib.cmakeFeature "CMAKE_INSTALL_SERVICEDIR" "${placeholder "out"}/lib")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/hardinfo2 \
|
||||||
|
--prefix PATH : "${dmidecode}/bin:${mesa-demos}/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.hardinfo2.org";
|
homepage = "http://www.hardinfo2.org";
|
||||||
description = "System information and benchmarks for Linux systems";
|
description = "System information and benchmarks for Linux systems";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue