depot/third_party/nixpkgs/pkgs/os-specific/linux/zenmonitor/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

26 lines
718 B
Nix

{ lib, stdenv, fetchFromGitHub, pkgconfig, gtk3, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "zenmonitor";
version = "1.4.2";
src = fetchFromGitHub {
owner = "ocerman";
repo = "zenmonitor";
rev = "v${version}";
sha256 = "0smv94vi36hziw42gasivyw25h5n1sgwwk1cv78id5g85w0kw246";
};
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
description = "Monitoring software for AMD Zen-based CPUs";
homepage = "https://github.com/ocerman/zenmonitor";
license = licenses.mit;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ alexbakker ];
};
}