nixpkgs/pkgs/tools/networking/q/default.nix
2023-09-20 05:22:27 +00:00

25 lines
649 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "q";
version = "0.12.0";
src = fetchFromGitHub {
owner = "natesales";
repo = "q";
rev = "v${version}";
sha256 = "sha256-Z62xxmbzouuP0ol0sJxlh3bQr/sysFSqo7Y5b26IJ1g=";
};
vendorHash = "sha256-uWPvUz8H9e/deZ3JmpRBNEG6UXAQa1068fZwQoeiKkc=";
doCheck = false; # tries to resolve DNS
meta = {
description = "A tiny and feature-rich command line DNS client with support for UDP, TCP, DoT, DoH, DoQ, and ODoH";
homepage = "https://github.com/natesales/q";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.das_j ];
};
}