2024-09-01 17:05:24 +00:00
|
|
|
{ lib, stdenv, fetchFromGitea, pkg-config, gtk3, wrapGAppsHook3 }:
|
2019-11-20 13:17:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zenmonitor";
|
2024-09-01 17:05:24 +00:00
|
|
|
version = "unstable-2024-05-21";
|
2019-11-20 13:17:54 +00:00
|
|
|
|
2024-09-01 17:05:24 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "git.exozy.me";
|
|
|
|
owner = "a";
|
2021-08-21 16:07:54 +00:00
|
|
|
repo = "zenmonitor3";
|
2024-09-01 17:05:24 +00:00
|
|
|
rev = "a09f0b25d33967fd32f3831304be049b008cdabf";
|
|
|
|
sha256 = "sha256-5N1Hhv2s0cv4Rujw4wFGHyIy7NyKAFThVvAo+xXqSyk=";
|
2019-11-20 13:17:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 ];
|
2024-04-26 20:24:03 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
2019-11-20 13:17:54 +00:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-10-11 21:46:04 +00:00
|
|
|
inherit (src.meta) homepage;
|
2019-11-20 13:17:54 +00:00
|
|
|
description = "Monitoring software for AMD Zen-based CPUs";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "zenmonitor";
|
2019-11-20 13:17:54 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
2021-08-21 16:07:54 +00:00
|
|
|
maintainers = with maintainers; [ alexbakker artturin ];
|
2019-11-20 13:17:54 +00:00
|
|
|
};
|
|
|
|
}
|