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