guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: guile-json: Add version 4.0.1.


From: guix-commits
Subject: 03/04: gnu: guile-json: Add version 4.0.1.
Date: Tue, 2 Jun 2020 13:00:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 793a48edc0533cacb193afe18c557e6408f3de22
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Jun 2 18:26:34 2020 +0200

    gnu: guile-json: Add version 4.0.1.
    
    * gnu/packages/guile.scm (guile-json-4): New variable.
    (guile2.2-json): Use it.
---
 gnu/packages/guile.scm | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index ef1e19c..c2dc7f6 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -554,12 +554,25 @@ specification.  These are the main features:
                      ("guile" ,guile-3.0)))
     (inputs `(("guile" ,guile-3.0)))))
 
-(define-public guile2.2-json
-  (package-for-guile-2.2 guile-json-3))
-
 (define-public guile3.0-json
   (deprecated-package "guile3.0-json" guile-json-3))
 
+(define-public guile-json-4
+  (package
+    (inherit guile-json-3)
+    (name "guile-json")
+    (version "4.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://savannah/guile-json/guile-json-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0f25qak4i57c3x0q9hlrll911l57bb8nz57rjkd02mn2fc2h3730"))))))
+
+(define-public guile2.2-json
+  (package-for-guile-2.2 guile-json-4))
+
 ;; There are two guile-gdbm packages, one using the FFI and one with
 ;; direct C bindings, hence the verbose name.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]