Fabian Affolter 2023-06-05 08:34:16 +02:00
parent 31cd1b4afb
commit 92fae8aa90

View file

@ -1,20 +1,23 @@
{ buildGoModule { lib
, buildGoModule
, fetchFromGitHub , fetchFromGitHub
, lib
}: }:
buildGoModule rec { buildGoModule rec {
pname = "dnsx"; pname = "dnsx";
version = "1.1.1"; version = "1.1.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "projectdiscovery"; owner = "projectdiscovery";
repo = "dnsx"; repo = "dnsx";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-5ZWBUgW3esdH+9APU5Z9Hn9VtA6VQqvUfJp5C42791k="; hash = "sha256-FNPAsslKmsLrUtiw+GlXLppsEk/VB02jkZLmrB8zZOI=";
}; };
vendorSha256 = "sha256-71JqgJZyx+9NTw08D7V5PPc84ExjGYdieCvFPTDSrs8="; vendorSha256 = "sha256-QXmy+Ph0lKguAoIWfc41z7XH7jXGc601DD6v292Hzj0=";
# Tests require network access
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Fast and multi-purpose DNS toolkit"; description = "Fast and multi-purpose DNS toolkit";
@ -25,6 +28,7 @@ buildGoModule rec {
resolvers. resolvers.
''; '';
homepage = "https://github.com/projectdiscovery/dnsx"; homepage = "https://github.com/projectdiscovery/dnsx";
changelog = "https://github.com/projectdiscovery/dnsx/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };