1
0
Fork 0
nix-overlay/packages/q.nix
Daniel Kempkens 13a26eb5f0
All checks were successful
Build / build-amd64-linux (push) Successful in 8m39s
Build / build-arm64-linux (push) Successful in 17m15s
Update
2023-10-21 13:04:56 +02:00

26 lines
695 B
Nix

{ pkgs, lib }:
pkgs.buildGo121Module rec {
pname = "q";
version = "0.15.1";
src = pkgs.fetchFromGitHub {
owner = "natesales";
repo = pname;
rev = "v${version}";
sha256 = "sha256-yItgytsPR/FkiERHhLTq1vNJbZ204DckEc3xK3PaPKM=";
};
vendorSha256 = "sha256-xLv2F/rOSjMTnTrLck/1E8Y0fTbpUutQIJGmqetqYjg=";
ldflags = "-s -w -X main.version=release";
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 ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}