2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3, wrapGAppsHook }:
|
2019-11-20 13:17:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zenmonitor";
|
2021-08-21 17:07:54 +01:00
|
|
|
version = "1.5.0";
|
2019-11-20 13:17:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-08-21 17:07:54 +01:00
|
|
|
owner = "Ta180m";
|
|
|
|
repo = "zenmonitor3";
|
2019-11-20 13:17:54 +00:00
|
|
|
rev = "v${version}";
|
2021-08-21 17:07:54 +01:00
|
|
|
sha256 = "sha256-dbjLpfflIsEU+wTApghJYBPxBXqS/7MJqcMBcj50o6I=";
|
2019-11-20 13:17:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
2019-11-20 13:17:54 +00:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-20 13:17:54 +00:00
|
|
|
description = "Monitoring software for AMD Zen-based CPUs";
|
2021-08-21 17:07:54 +01:00
|
|
|
homepage = "https://github.com/Ta180m/zenmonitor3";
|
2019-11-20 13:17:54 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
2021-08-21 17:07:54 +01:00
|
|
|
maintainers = with maintainers; [ alexbakker artturin ];
|
2019-11-20 13:17:54 +00:00
|
|
|
};
|
|
|
|
}
|