Merge pull request #88053 from gnidorah/cpu-x

cpu-x: 3.2.4 -> 4.0.0
gstqt5
Sarah Brofeldt 2020-05-18 19:44:49 +02:00 committed by GitHub
commit 567f0a3df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 6 deletions

View File

@ -1,22 +1,27 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gtk3, ncurses, curl
, json_c, libcpuid, pciutils, procps, wrapGAppsHook, nasm }:
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gtk3, ncurses
, libcpuid, pciutils, procps, wrapGAppsHook, nasm, makeWrapper }:
stdenv.mkDerivation rec {
pname = "cpu-x";
version = "3.2.4";
version = "4.0.0";
src = fetchFromGitHub {
owner = "X0rg";
repo = "CPU-X";
rev = "v${version}";
sha256 = "03y49wh9v7x6brmavj5a2clihn0z4f01pypl7m8ymarv4y3a6xkl";
sha256 = "00xngmlayblvkg3l0rcfpxmnkkdz49ydh4smlhpii23gqii0rds3";
};
nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook nasm ];
nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook nasm makeWrapper ];
buildInputs = [
gtk3 ncurses curl json_c libcpuid pciutils procps
gtk3 ncurses libcpuid pciutils procps
];
postInstall = ''
wrapProgram $out/bin/cpu-x \
--prefix PATH : ${stdenv.lib.makeBinPath [ stdenv.cc ]}
'';
meta = with stdenv.lib; {
description = "Free software that gathers information on CPU, motherboard and more";
homepage = src.meta.homepage;