all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26590: gnu: Add libbson.
@ 2017-04-21 12:05 Corentin Bocquillon
  2017-04-21 19:58 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Bocquillon @ 2017-04-21 12:05 UTC (permalink / raw)
  To: 26590

[-- Attachment #1: 0001-gnu-Add-libbson.patch --]
[-- Type: text/plain, Size: 1957 bytes --]

From 73b6d5e67cc9bee67d88f50c9319dcaa6f81f60b Mon Sep 17 00:00:00 2001
From: Corentin Bocquillon <corentin@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#26590: gnu: Add libbson.
  2017-04-21 12:05 bug#26590: gnu: Add libbson Corentin Bocquillon
@ 2017-04-21 19:58 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2017-04-21 19:58 UTC (permalink / raw)
  To: Corentin Bocquillon; +Cc: 26590-done

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

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@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).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-21 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-21 12:05 bug#26590: gnu: Add libbson Corentin Bocquillon
2017-04-21 19:58 ` Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.