Merge pull request #194106 from figsoda/update-kmon

kmon: 1.6.0 -> 1.6.2
This commit is contained in:
figsoda 2022-10-02 14:19:09 -04:00 committed by GitHub
commit 0c8abc8cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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; {