1
0
Fork 0
nix-overlay/packages/q.nix

26 lines
699 B
Nix
Raw Normal View History

2022-06-09 19:58:46 +00:00
{ system, lib, pkgs }:
pkgs.buildGoModule rec {
pname = "q";
2022-08-07 23:02:47 +00:00
version = "0.8.2";
2022-06-09 19:58:46 +00:00
src = pkgs.fetchFromGitHub {
owner = "natesales";
repo = pname;
rev = "v${version}";
2022-08-07 23:02:47 +00:00
sha256 = "sha256-Esg2i8UNT+SuW9+jsnVEOt1ot822CamZ3JoR8ReY0+4=";
2022-06-09 19:58:46 +00:00
};
2022-08-07 23:02:47 +00:00
vendorSha256 = "sha256-oarXbxROTd7knHr9GKlrPnnS6ehkps2ZYYsUS9cn6ek=";
2022-06-09 19:58:46 +00:00
2022-06-09 20:06:29 +00:00
ldflags = "-s -w -X main.version=release";
2022-06-09 19:58:46 +00:00
doCheck = false;
meta = with lib; {
description = "A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.";
homepage = "https://github.com/natesales/q";
license = [ licenses.gpl3Only ];
2022-07-31 18:41:26 +00:00
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
2022-06-09 19:58:46 +00:00
};
}