3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/zenmonitor/default.nix

27 lines
718 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkgconfig, gtk3, wrapGAppsHook }:
2019-11-20 13:17:54 +00:00
stdenv.mkDerivation rec {
pname = "zenmonitor";
2020-08-31 12:56:11 +01:00
version = "1.4.2";
2019-11-20 13:17:54 +00:00
src = fetchFromGitHub {
owner = "ocerman";
repo = "zenmonitor";
rev = "v${version}";
2020-08-31 12:56:11 +01:00
sha256 = "0smv94vi36hziw42gasivyw25h5n1sgwwk1cv78id5g85w0kw246";
2019-11-20 13:17:54 +00:00
};
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
2019-11-20 13:17:54 +00:00
description = "Monitoring software for AMD Zen-based CPUs";
2020-02-27 19:04:24 +00:00
homepage = "https://github.com/ocerman/zenmonitor";
2019-11-20 13:17:54 +00:00
license = licenses.mit;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ alexbakker ];
};
}