Skip to content

Commit

Permalink
Merge pull request NixOS#73815 from alexbakker/zenmonitor
Browse files Browse the repository at this point in the history
zenmonitor: init at 1.3
  • Loading branch information
marsam authored Jan 29, 2020
2 parents f158bb6 + fb775ae commit 90d969e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/os-specific/linux/zenmonitor/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, pkgconfig, gtk3, wrapGAppsHook }:

stdenv.mkDerivation rec {
pname = "zenmonitor";
version = "1.3";

src = fetchFromGitHub {
owner = "ocerman";
repo = "zenmonitor";
rev = "v${version}";
sha256 = "16p2njrgik8zfkidm64v4qy53qlsqqxxgr9m3n84pr9l3pk25dwk";
};

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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17252,6 +17252,8 @@ in

zd1211fw = callPackage ../os-specific/linux/firmware/zd1211 { };

zenmonitor = callPackage ../os-specific/linux/zenmonitor { };

inherit (callPackage ../os-specific/linux/zfs {
configFile = "user";
}) zfsStable zfsUnstable;
Expand Down

0 comments on commit 90d969e

Please sign in to comment.