depot/third_party/nixpkgs/pkgs/os-specific/linux/zenmonitor/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

26 lines
720 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, gtk3, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "zenmonitor";
version = "1.4.1";
src = fetchFromGitHub {
owner = "ocerman";
repo = "zenmonitor";
rev = "v${version}";
sha256 = "1g6sk2mcd7znjq6zmbf2fgn02a0yimyv2dw2143aciq2pxqjawmp";
};
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.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 ];
};
}