depot/third_party/nixpkgs/pkgs/os-specific/linux/zenmonitor/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

27 lines
762 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3, wrapGAppsHook3 }:
stdenv.mkDerivation rec {
pname = "zenmonitor";
version = "2.0.0";
src = fetchFromGitHub {
owner = "Ta180m";
repo = "zenmonitor3";
rev = "v${version}";
sha256 = "sha256-2EsuSMXnnMg0e0JD1TXJplsi7sOg9em0qqge2WlC6ro=";
};
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
description = "Monitoring software for AMD Zen-based CPUs";
mainProgram = "zenmonitor";
homepage = "https://github.com/Ta180m/zenmonitor3";
license = licenses.mit;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ alexbakker artturin ];
};
}