depot/third_party/nixpkgs/pkgs/tools/networking/q/default.nix

25 lines
649 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "q";
version = "0.15.1";
src = fetchFromGitHub {
owner = "natesales";
repo = "q";
rev = "v${version}";
sha256 = "sha256-yItgytsPR/FkiERHhLTq1vNJbZ204DckEc3xK3PaPKM=";
};
vendorHash = "sha256-xLv2F/rOSjMTnTrLck/1E8Y0fTbpUutQIJGmqetqYjg=";
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 ];
};
}