summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-11-05 16:20:10 -0400
committerfigsoda <figsoda@pm.me>2021-11-05 16:20:10 -0400
commitb427f9a5bf48e69c7b21704be2b0429c7855e798 (patch)
tree68cfe4f1ffea575aa792481c091ba3e5760b0bf4 /pkgs/tools/system
parent933da575d4612c93508de754f50149e278572caf (diff)
kmon: 1.5.5 -> 1.6.0, clarify license
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/kmon/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/tools/system/kmon/default.nix b/pkgs/tools/system/kmon/default.nix
index 7bf2c810298b..36181b371eaf 100644
--- a/pkgs/tools/system/kmon/default.nix
+++ b/pkgs/tools/system/kmon/default.nix
@@ -1,31 +1,32 @@
-{ lib, fetchFromGitHub, rustPlatform, python3, libxcb }:
+{ lib, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb }:
rustPlatform.buildRustPackage rec {
pname = "kmon";
- version = "1.5.5";
+ version = "1.6.0";
src = fetchFromGitHub {
owner = "orhun";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-x4P9p2zXthGtokfKcWR/xaX/E7a9mEuQiK6cjFw4nS8=";
+ sha256 = "sha256-0sjRTbTLtBUTyx6+HnihL9TggoeIOqX9zKRaXjBUfE0=";
};
- cargoSha256 = "sha256-ZAHp7eR2pu+xEP9NZOLoczEF8QSFA5Z/8bKsCYqk4Ww=";
+ cargoSha256 = "sha256-QMJ3Rpgcfrza2zFiA5LFBuYedn+VnffzpyzAGeC0PSM=";
- nativeBuildInputs = [ python3 ];
+ nativeBuildInputs = [ installShellFiles python3 ];
buildInputs = [ libxcb ];
postInstall = ''
- install -D man/kmon.8 -t $out/share/man/man8/
+ installManPage man/kmon.8
'';
meta = with lib; {
description = "Linux Kernel Manager and Activity Monitor";
homepage = "https://github.com/orhun/kmon";
- license = with licenses; [ gpl3 ];
+ changelog = "https://github.com/orhun/kmon/blob/v${version}/CHANGELOG.md";
+ license = licenses.gpl3Only;
platforms = platforms.linux;
- maintainers = with maintainers; [ misuzu ];
+ maintainers = with maintainers; [ figsoda misuzu ];
};
}