GNU bug report logs - #26590
gnu: Add libbson.

Previous Next

Package: guix-patches;

Reported by: Corentin Bocquillon <corentin <at> nybble.fr>

Date: Fri, 21 Apr 2017 15:33:04 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26590 in the body.
You can then email your comments to 26590 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26590; Package guix-patches. (Fri, 21 Apr 2017 15:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Corentin Bocquillon <corentin <at> nybble.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 21 Apr 2017 15:33:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Corentin Bocquillon <corentin <at> nybble.fr>
To: guix-patches <at> gnu.org
Subject: gnu: Add libbson.
Date: Fri, 21 Apr 2017 14:05:30 +0200
From 73b6d5e67cc9bee67d88f50c9319dcaa6f81f60b Mon Sep 17 00:00:00 2001
From: Corentin Bocquillon <corentin <at> nybble.fr>
Date: Fri, 21 Apr 2017 13:11:24 +0200
Subject: [PATCH] gnu: Add libbson.

* gnu/packages/serialization.scm (libbson): New variables.
---
 gnu/packages/serialization.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 9e073b7a9..1a5313377 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -35,7 +35,8 @@
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages python))
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages perl))
 
 (define-public cereal
   (package
@@ -287,3 +288,25 @@ it a convenient format to store user input files.")
      "Cap'n Proto is a very fast data interchange format and capability-based
 RPC system.  Think JSON, except binary.  Or think Protocol Buffers, except faster.")
     (license license:expat)))
+
+(define-public libbson
+  (package
+    (name "libbson")
+    (version "1.6.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/mongodb/libbson/releases/download/"
+                    version "/libbson-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1fj4554msq0rrz14snbj908dzqj46gh7jg9w9j0akn2b7q911m5a"))))
+    (build-system gnu-build-system)
+    (native-inputs `(("perl" ,perl)))
+    (home-page "http://mongoc.org/libbson/current/index.html")
+    (synopsis "C BSON library")
+    (description
+     "Libbson can create and parse BSON documents.
+It can also convert JSON documents to BSON and the opposite.
+BSON stands for Binary JSON, it is comparable to protobuf.")
+    (license license:asl2.0)))
-- 
2.12.2





Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Fri, 21 Apr 2017 19:59:02 GMT) Full text and rfc822 format available.

Notification sent to Corentin Bocquillon <corentin <at> nybble.fr>:
bug acknowledged by developer. (Fri, 21 Apr 2017 19:59:02 GMT) Full text and rfc822 format available.

Message #10 received at 26590-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Corentin Bocquillon <corentin <at> nybble.fr>
Cc: 26590-done <at> debbugs.gnu.org
Subject: Re: bug#26590: gnu: Add libbson.
Date: Fri, 21 Apr 2017 15:58:48 -0400
[Message part 1 (text/plain, inline)]
On Fri, Apr 21, 2017 at 02:05:30PM +0200, Corentin Bocquillon wrote:
> From 73b6d5e67cc9bee67d88f50c9319dcaa6f81f60b Mon Sep 17 00:00:00 2001
> From: Corentin Bocquillon <corentin <at> nybble.fr>
> Date: Fri, 21 Apr 2017 13:11:24 +0200
> Subject: [PATCH] gnu: Add libbson.
> 
> * gnu/packages/serialization.scm (libbson): New variables.

Thanks! I added a copyright line for you and pushed as
9d62551216abe83d949caa9508d039d97a96d7b3.

> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/mongodb/libbson/releases/download/"
> +                    version "/libbson-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1fj4554msq0rrz14snbj908dzqj46gh7jg9w9j0akn2b7q911m5a"))))
> +    (build-system gnu-build-system)
> +    (native-inputs `(("perl" ,perl)))
> +    (home-page "http://mongoc.org/libbson/current/index.html")
> +    (synopsis "C BSON library")
> +    (description
> +     "Libbson can create and parse BSON documents.
> +It can also convert JSON documents to BSON and the opposite.
> +BSON stands for Binary JSON, it is comparable to protobuf.")

I also re-indented (source) and (description).
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.