From a64652f25e53cd973e50369753d2d63060de55ef Mon Sep 17 00:00:00 2001 From: figsoda <figsoda@pm.me> Date: Sun, 2 Oct 2022 13:40:01 -0400 Subject: [PATCH] kmon: 1.6.0 -> 1.6.2 --- pkgs/tools/system/kmon/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/system/kmon/default.nix b/pkgs/tools/system/kmon/default.nix index 36181b371eaf..6f54579132f5 100644 --- a/pkgs/tools/system/kmon/default.nix +++ b/pkgs/tools/system/kmon/default.nix @@ -1,24 +1,26 @@ -{ lib, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb }: +{ lib, rustPlatform, fetchFromGitHub, installShellFiles, libxcb }: rustPlatform.buildRustPackage rec { pname = "kmon"; - version = "1.6.0"; + version = "1.6.2"; src = fetchFromGitHub { owner = "orhun"; repo = pname; rev = "v${version}"; - sha256 = "sha256-0sjRTbTLtBUTyx6+HnihL9TggoeIOqX9zKRaXjBUfE0="; + sha256 = "sha256-LJ8vfjSUaNZQAtv9TXAZf1JMRzB1yN8/qbXphRUJVYY="; }; - cargoSha256 = "sha256-QMJ3Rpgcfrza2zFiA5LFBuYedn+VnffzpyzAGeC0PSM="; + cargoSha256 = "sha256-5OUc2e1fMlSArKMCANqtRCAh21iPjzuGjGrEP8/hQXk="; - nativeBuildInputs = [ installShellFiles python3 ]; + nativeBuildInputs = [ installShellFiles ]; buildInputs = [ libxcb ]; postInstall = '' - installManPage man/kmon.8 + installManPage $releaseDir/../man/kmon.8 + installShellCompletion $releaseDir/../completions/kmon.{bash,fish} \ + --zsh $releaseDir/../completions/_kmon ''; meta = with lib; {