mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
27 lines
720 B
Nix
27 lines
720 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, gtk3, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zenmonitor";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocerman";
|
|
repo = "zenmonitor";
|
|
rev = "v${version}";
|
|
sha256 = "1mn496iqfmhqsac7a5r0bdfddzrfiz6l34qiga0pip925g7hsm52";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|