1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
7 src = fetchFromGitHub {
11 hash = "sha256-SrvcRF2yRGGPTk835ykG+NH9WPoc/bXO5tSj43Q7T3g=";
14 vendorHash = "sha256-7t5rQliLm6pMUHhtev/kNrQ7AOvmA/rR93SwNQhov6o=";
17 "-s" "-w" "-X=github.com/qownnotes/qc/cmd.version=${version}"
20 # There are no automated tests
23 subPackages = [ "." ];
30 export HOME=$(mktemp -d)
31 installShellCompletion --cmd qc \
32 --bash <($out/bin/qc completion bash) \
33 --fish <($out/bin/qc completion fish) \
34 --zsh <($out/bin/qc completion zsh)
38 description = "QOwnNotes command-line snippet manager";
39 homepage = "https://github.com/qownnotes/qc";
40 license = licenses.mit;
41 maintainers = with maintainers; [ pbek totoroot ];