cpu-x: 3.2.4 -> 4.0.0
This commit is contained in:
parent
b47873026c
commit
09472fb9db
|
@ -1,22 +1,27 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gtk3, ncurses, curl
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gtk3, ncurses
|
||||||
, json_c, libcpuid, pciutils, procps, wrapGAppsHook, nasm }:
|
, libcpuid, pciutils, procps, wrapGAppsHook, nasm, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cpu-x";
|
pname = "cpu-x";
|
||||||
version = "3.2.4";
|
version = "4.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "X0rg";
|
owner = "X0rg";
|
||||||
repo = "CPU-X";
|
repo = "CPU-X";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "03y49wh9v7x6brmavj5a2clihn0z4f01pypl7m8ymarv4y3a6xkl";
|
sha256 = "00xngmlayblvkg3l0rcfpxmnkkdz49ydh4smlhpii23gqii0rds3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook nasm ];
|
nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook nasm makeWrapper ];
|
||||||
buildInputs = [
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Free software that gathers information on CPU, motherboard and more";
|
description = "Free software that gathers information on CPU, motherboard and more";
|
||||||
homepage = src.meta.homepage;
|
homepage = src.meta.homepage;
|
||||||
|
|
Loading…
Reference in New Issue