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