2022-08-21 13:32:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "q";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.15.1";
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "natesales";
|
|
|
|
repo = "q";
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-yItgytsPR/FkiERHhLTq1vNJbZ204DckEc3xK3PaPKM=";
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = "sha256-xLv2F/rOSjMTnTrLck/1E8Y0fTbpUutQIJGmqetqYjg=";
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|