mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
qc: 0.4.0 -> 0.5.0
This commit is contained in:
parent
7e55510ba2
commit
3e90c045ca
1 changed files with 6 additions and 3 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "qc";
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qownnotes";
|
||||
repo = "qc";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6dH7pmsd7kUgwHplvCfNqoq/ucDY/UZnyVxC3VvV+fQ=";
|
||||
hash = "sha256-lNS2wrjG70gi6mpIYMvuusuAJL3LkAVh8za+KnBTioc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-7t5rQliLm6pMUHhtev/kNrQ7AOvmA/rR93SwNQhov6o=";
|
||||
|
@ -26,8 +26,11 @@ buildGoModule rec {
|
|||
];
|
||||
|
||||
postInstall = ''
|
||||
export HOME=$(mktemp -d)
|
||||
installShellCompletion --cmd qc \
|
||||
--zsh ./misc/completions/zsh/_qc
|
||||
--bash <($out/bin/qc completion bash) \
|
||||
--fish <($out/bin/qc completion fish) \
|
||||
--zsh <($out/bin/qc completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue