Subject: Re: Add wiredtiger-3.1.0

From: Amirouche Boubekki <[email-masked]>
Date: Tue, 16 Oct 2018 20:47:08 +0200

Here a follow up to bump guile-wiredtiger

Le lun. 15 oct. 2018 à 21:05, Amirouche Boubekki <
[email-masked]> a écrit :

> I created a new variable because, I think we don't want to loose
> wiredtiger 2.9.x which is used by mongodb 3.4.
> wiredtiger 2.9 aka. wiredtiger variable is also used by guile-wiredtiger.
> I am going to update guile-wiredtiger
> soon enough in another patch to use wiredtiger-3.
>
> I don't know if mongodb 3.4 can be built with wiredtiger-3.1.0
>
From b8e4b81be7804028149560dcbd2ee7625f238d6f Mon Sep 17 00:00:00 2001
From: Amirouche <[email-masked]>
Date: Tue, 16 Oct 2018 20:45:28 +0200
Subject: [PATCH] gnu: guile-wiredtiger: Update to 0.7.0.

* gnu/packages/databases.scm (guile-wiredtiger): Update to 0.7.0.
[inputs]: Replace wiredtiger with wiredtiger-3
[propagated-inputs]: Remove guile-lib, add guile-bytestructures
[description]: Update it.
---
 gnu/packages/databases.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 14f4b7628..a3228bbc9 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1642,16 +1642,16 @@ trees (LSM), for sustained throughput under random insert workloads.")
 (define-public guile-wiredtiger
   (package
     (name "guile-wiredtiger")
-    (version "0.6.3")
+    (version "0.7.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://framagit.org/a-guile-mind/guile-wiredtiger.git")
-                    (commit "070ed68139d99c279f058a6c293f00292d35dbd7")))
+                    (commit "340ad4bc2ff4dcc6216a2f5c6f9172ca320ac66b")))
               (file-name (string-append name "-" version "-checkout"))
               (sha256
                (base32
-                "14rna97wsylajzxfif95wnblq85csgcfc666gh5dl0ssgd7x8llh"))))
+                "15j36bvxxzil7qpwlmh1rffqpva3ynvrcpqhhqbj2c9208ayz595"))))
     (build-system gnu-build-system)
     (arguments
      '(#:parallel-tests? #f  ;; tests can't be run in parallel, yet.
@@ -1659,21 +1659,19 @@ trees (LSM), for sustained throughput under random insert workloads.")
        (list (string-append "--with-libwiredtiger-prefix="
                             (assoc-ref %build-inputs "wiredtiger")))
        #:make-flags '("GUILE_AUTO_COMPILE=0")))
-    ;; TODO: Remove microkanren.scm when we have a separate package
-    ;; for it.
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
        ("pkg-config" ,pkg-config)))
     (inputs
-     `(("wiredtiger" ,wiredtiger)
+     `(("wiredtiger" ,wiredtiger-3)
        ("guile" ,guile-2.2)))
     (propagated-inputs
-     `(("guile-lib" ,guile-lib)))                 ;for (htmlprag)
+     `(("guile-bytestructures" ,guile-bytestructures)))
     (synopsis "WiredTiger bindings for GNU Guile")
     (description
      "This package provides Guile bindings to the WiredTiger ``NoSQL''
-database.  Various higher level database abstractions.")
+database.")
     (home-page "https://framagit.org/a-guile-mind/guile-wiredtiger")
     (license license:gpl3+)))
 
-- 
2.18.0