Merge pull request #144792 from figsoda/update-kmon

kmon: 1.5.5 -> 1.6.0, clarify license

authored by

figsoda and committed by
GitHub
992fef19 a219d63b

+9 -8
+9 -8
pkgs/tools/system/kmon/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform, python3, libxcb }: 1 + { lib, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "kmon"; 5 - version = "1.5.5"; 5 + version = "1.6.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "orhun"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-x4P9p2zXthGtokfKcWR/xaX/E7a9mEuQiK6cjFw4nS8="; 11 + sha256 = "sha256-0sjRTbTLtBUTyx6+HnihL9TggoeIOqX9zKRaXjBUfE0="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-ZAHp7eR2pu+xEP9NZOLoczEF8QSFA5Z/8bKsCYqk4Ww="; 14 + cargoSha256 = "sha256-QMJ3Rpgcfrza2zFiA5LFBuYedn+VnffzpyzAGeC0PSM="; 15 15 16 - nativeBuildInputs = [ python3 ]; 16 + nativeBuildInputs = [ installShellFiles python3 ]; 17 17 18 18 buildInputs = [ libxcb ]; 19 19 20 20 postInstall = '' 21 - install -D man/kmon.8 -t $out/share/man/man8/ 21 + installManPage man/kmon.8 22 22 ''; 23 23 24 24 meta = with lib; { 25 25 description = "Linux Kernel Manager and Activity Monitor"; 26 26 homepage = "https://github.com/orhun/kmon"; 27 - license = with licenses; [ gpl3 ]; 27 + changelog = "https://github.com/orhun/kmon/blob/v${version}/CHANGELOG.md"; 28 + license = licenses.gpl3Only; 28 29 platforms = platforms.linux; 29 - maintainers = with maintainers; [ misuzu ]; 30 + maintainers = with maintainers; [ figsoda misuzu ]; 30 31 }; 31 32 }