Subject: [bug#75009] [PATCH v3 3/5] gnu: Add yaz.

From: Sughosha <[email-masked]>
Date: Thu, 23 Jan 2025 15:42:22 +0530

* gnu/packages/networking.scm (yaz): New variable.

Change-Id: Ib360e71ebbfa006008dbe558c265d142b14d67e7
---
 gnu/packages/networking.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 295c2421ec..fa752be027 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -65,6 +65,7 @@
 ;;; Copyright © 2022 Dominic Martinez <[email-masked]>
 ;;; Copyright © 2024 Alexey Abramov <[email-masked]>
 ;;; Copyright © 2024 James Smith <[email-masked]>
+;;; Copyright © 2025 Sughosha <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4672,6 +4673,27 @@ (define-public ngtcp2
 QUIC protocol.")
     (license license:expat)))
 
+(define-public yaz
+  (package
+    (name "yaz")
+    (version "5.34.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://download.indexdata.com/pub/yaz/yaz-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1h54vda4rgisih309jbdzs6d5vk5mfv5ca9csdbwwrg8hgjbjk6f"))))
+    (build-system gnu-build-system)
+    (home-page "https://www.indexdata.com/resources/software/yaz/")
+    (synopsis "Z39.50 toolkit for C")
+    (description
+     "YAZ is a programmers’ toolkit supporting the development of
+Z39.50/SRW/SRU clients and servers. Z39.50-2003 (version 3) as well as SRU
+version 1.1 thru 2.0 are supported in both the client and server roles. The
+Solr webservice is supported in the client role through the ZOOM API.")
+    (license license:bsd-3)))
+
 (define-public yggdrasil
   (package
     (name "yggdrasil")
-- 
2.47.1