From 01544d32fb43a7dae0dfe531cc7a04b58c62a447 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 23 Apr 2023 14:27:29 +0200 Subject: gnu: Add go-github-com-jcmturner-dnsutils-v2. * gnu/packages/golang.scm (go-github-com-jcmturner-dnsutils-v2): New variable. Signed-off-by: Leo Famulari --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ded64e9c28..0adef25b2a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1431,6 +1431,33 @@ (define-public go-github-com-jcmturner-aescts-v2 encryption and decryption methods.") (license license:asl2.0))) +(define-public go-github-com-jcmturner-dnsutils-v2 + (package + (name "go-github-com-jcmturner-dnsutils-v2") + (version "2.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jcmturner/dnsutils") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "116zbgvfj88vv93fnapmmgyd5g8kzy774cdyzsnnzyzng92j61c9")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jcmturner/dnsutils/v2")) + (propagated-inputs (list go-github-com-stretchr-testify)) + (home-page "https://github.com/jcmturner/dnsutils") + (synopsis "Go library with DNS utils") + (description + "The dnsutils package provides a Go function to return a map of Service +Records (SRV) in the order they should be used for a given service, protocol +and name. The order is determined by the records' priority and randomized +selection based on their relative weighting. This package is useful for +network applications that require accessing services using SRV records.") + (license license:asl2.0))) + (define-public go-github-com-kataras-golog (package (name "go-github-com-kataras-golog") -- cgit v1.2.3