12 src = fetchFromGitHub {
16 hash = "sha256-SbTwVvE699MCgfUXifnJ1oMNN8TdLg8P03Xx5hrQxF8=";
19 vendorHash = "sha256-44gBPMr6gKaRaq7W69K7OBTVXvsz9pSEL1eOKYd4fT8=";
20 nativeBuildInputs = [ installShellFiles ];
21 subPackages = [ "cmd/doggo" ];
25 "-X main.buildVersion=v${version}"
29 installShellCompletion --cmd doggo \
30 --bash <($out/bin/doggo completions bash) \
31 --fish <($out/bin/doggo completions fish) \
32 --zsh <($out/bin/doggo completions zsh)
35 passthru.updateScript = nix-update-script { };
38 homepage = "https://github.com/mr-karan/doggo";
39 description = "Command-line DNS Client for Humans. Written in Golang";
40 mainProgram = "doggo";
42 doggo is a modern command-line DNS client (like dig) written in Golang.
43 It outputs information in a neat concise manner and supports protocols like DoH, DoT, DoQ, and DNSCrypt as well
45 license = licenses.gpl3Only;
46 maintainers = with maintainers; [ georgesalkhouri ma27 ];