summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Wilson <elaexuotee@wilsonb.com>2025-03-22 14:11:45 +0900
committerAndreas Enge <andreas@enge.fr>2025-03-31 12:29:06 +0200
commit773014994fa486727df9c335c778ec678c691075 (patch)
tree87b13d7afe47a964c9eb1660f8fc0b7edf61afc4
parent4b97ae180fc13f7e4818cf48519f8a77c22c7797 (diff)
gnu: Add openrdap.
* gnu/packages/networking.scm (openrdap): New variable. Change-Id: If8d113b1bff6e83c8b02b043faa361bdac630588 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/networking.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index d46400110b..caff01e1b9 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -66,6 +66,7 @@
;;; Copyright © 2024 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
;;; Copyright © 2025 Sughosha <sughosha@disroot.org>
+;;; Copyright © 2025 B. Wilson <elaexuotee@wilsonb.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5123,3 +5124,34 @@ back to the servers which know the data.")
recording packets that are dropped by the kernel. It provides the commands
@command{dropwatch} and @command{dwdump}.")
(license license:gpl2+)))
+
+(define-public openrdap
+ (package
+ (name "openrdap")
+ (version "0.9.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/openrdap/rdap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1w3kwxh3hvkp5x1m6i4ijydmpfpibgf9jkviqrvpcadh335989hn"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:unpack-path "github.com/openrdap/rdap"
+ #:import-path "github.com/openrdap/rdap/cmd/rdap"))
+ (propagated-inputs (list go-golang-org-x-crypto
+ go-github-com-mitchellh-go-homedir
+ go-github-com-jarcoal-httpmock
+ go-github-com-davecgh-go-spew
+ go-github-com-alecthomas-kingpin-v2))
+ (home-page "https://www.openrdap.org/")
+ (synopsis "Command line RDAP client")
+ (description
+ "OpenRDAP is a command line client for the Registration Data Access
+Protocol. RDAP is modern a replacement for WHOIS, which provides domain name
+and IP address registration information in JSON format over HTTP.")
+ (license license:expat)))