kmon: 1.6.0 -> 1.6.2
This commit is contained in:
parent
1711edb3c8
commit
a64652f25e
@ -1,24 +1,26 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb }:
|
{ lib, rustPlatform, fetchFromGitHub, installShellFiles, libxcb }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "kmon";
|
pname = "kmon";
|
||||||
version = "1.6.0";
|
version = "1.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "orhun";
|
owner = "orhun";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
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 ];
|
buildInputs = [ libxcb ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage man/kmon.8
|
installManPage $releaseDir/../man/kmon.8
|
||||||
|
installShellCompletion $releaseDir/../completions/kmon.{bash,fish} \
|
||||||
|
--zsh $releaseDir/../completions/_kmon
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user