Subject: [bug#63919] [PATCH] gnu: guile-jsonld: fix build and use new style.

From: Z572 <[email-masked]>
Date: Tue, 6 Jun 2023 12:43:51 +0800

* gnu/packages/guile-xyz (guile-jsonld)
[propagated-inputs]: replace GNUTLS with GUILE-GNUTLS, use new style.
---
 gnu/packages/guile-xyz.scm | 37 ++++++++++++++++---------------------
 1 file changed, 16 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index d8684bb818..0415d857e7 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -43,7 +43,7 @@
 ;;; Copyright © 2022 Zhu Zihao <[email-masked]>
 ;;; Copyright © 2022 Antero Mejr <[email-masked]>
 ;;; Copyright © 2022 Taiju HIGASHI <[email-masked]>
-;;; Copyright © 2022 Zheng Junjie <[email-masked]>
+;;; Copyright © 2022, 2023 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2022 Evgeny Pisemsky <[email-masked]>
 ;;; Copyright © 2022 jgart <[email-masked]>
 ;;;
@@ -4622,30 +4622,25 @@ (define-public guile-jsonld
   (package
     (name "guile-jsonld")
     (version "1.0.2")
-    (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://framagit.org/tyreunom/guile-jsonld")
-               (commit version)))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32
-          "1ryyvh71899z2inivqglb8d78zzp1sd0wv9a56kvcmrxf1966z6r"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://framagit.org/tyreunom/guile-jsonld")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ryyvh71899z2inivqglb8d78zzp1sd0wv9a56kvcmrxf1966z6r"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f)); require network
-    (propagated-inputs
-     `(("guile-gnutls" ,gnutls)
-       ("guile-json" ,guile-json-4)
-       ("guile-rdf" ,guile-rdf)))
-    (inputs
-     (list guile-3.0))
-    (native-inputs
-     (list automake autoconf pkg-config texinfo))
+     (list #:tests? #f)) ;require network
+    (propagated-inputs (list guile-gnutls guile-json-4 guile-rdf))
+    (inputs (list guile-3.0))
+    (native-inputs (list automake autoconf pkg-config texinfo))
     (home-page "https://framagit.org/tyreunom/guile-jsonld")
     (synopsis "Guile implementation of the JsonLD API specification")
-    (description "Guile JsonLD is an implementation of the JsonLD (Json for
+    (description
+     "Guile JsonLD is an implementation of the JsonLD (Json for
 Linked Data) API defined by the W3C for GNU Guile.  It allows you to express links
 between data, in a way that is very similar to WikiData or RDF for instance.
 An object can have relations (in the form of an IRI) that relates it to one or

base-commit: 8937898af9433c0b7a8d95a78c95e21576ae22e8
-- 
2.40.1