nixpkgs/pkgs/os-specific/linux/zenmonitor/default.nix

27 lines
728 B
Nix
Raw Normal View History

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