2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, gtk3, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zenmonitor";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocerman";
|
|
|
|
repo = "zenmonitor";
|
|
|
|
rev = "v${version}";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0smv94vi36hziw42gasivyw25h5n1sgwwk1cv78id5g85w0kw246";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Monitoring software for AMD Zen-based CPUs";
|
|
|
|
homepage = "https://github.com/ocerman/zenmonitor";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
|
|
maintainers = with maintainers; [ alexbakker ];
|
|
|
|
};
|
|
|
|
}
|