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

From: Zheng Junjie <[email-masked]>
Date: Fri, 24 Jan 2025 11:03:04 +0800

References: <[email-masked]>
	<[email-masked]>
User-Agent: mu4e 1.12.7; emacs 30.0.92
Sughosha via Guix-patches via <[email-masked]> writes:

> * 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)))

It is best to write synopsis and description in an easy to understand
way, people who are not familiar with Z39.50 don't know what this is,
and try to use ascii. and guix lint say: sentences in description should
be followed by two spaces; possible infractions at 94, 205.

> +
>  (define-public yggdrasil
>    (package
>      (name "yggdrasil")
Date: Fri, 24 Jan 2025 11:03:04 +0800