2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3, wrapGAppsHook }:
|
2019-11-20 14:17:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zenmonitor";
|
2020-08-31 13:56:11 +02:00
|
|
|
version = "1.4.2";
|
2019-11-20 14:17:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocerman";
|
|
|
|
repo = "zenmonitor";
|
|
|
|
rev = "v${version}";
|
2020-08-31 13:56:11 +02:00
|
|
|
sha256 = "0smv94vi36hziw42gasivyw25h5n1sgwwk1cv78id5g85w0kw246";
|
2019-11-20 14:17:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 ];
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
2019-11-20 14:17:54 +01:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-11-20 14:17:54 +01:00
|
|
|
description = "Monitoring software for AMD Zen-based CPUs";
|
2020-02-27 20:04:24 +01:00
|
|
|
homepage = "https://github.com/ocerman/zenmonitor";
|
2019-11-20 14:17:54 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
|
|
maintainers = with maintainers; [ alexbakker ];
|
|
|
|
};
|
|
|
|
}
|