guix-commits
[Top][All Lists]
Advanced

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

09/12: gnu: Add python-cbor.


From: Ludovic Courtès
Subject: 09/12: gnu: Add python-cbor.
Date: Sat, 14 Oct 2017 11:09:10 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 7ae282fbea32bcfb50a1df7b78107c67a4ae3648
Author: ng0 <address@hidden>
Date:   Wed Oct 11 09:47:15 2017 +0000

    gnu: Add python-cbor.
    
    * gnu/packages/serialization.scm (python-cbor): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/serialization.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 1866926..7d25e0d 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Corentin Bocquillon <address@hidden>
 ;;; Copyright © 2017 Gregor Giesen <address@hidden>
 ;;; Copyright © 2017 Frederick M. Muriithi <address@hidden>
+;;; Copyright © 2017 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -385,3 +386,25 @@ style and key ordering are kept, so you can diff the 
source.")
 
 (define-public python2-ruamel.yaml
   (package-with-python2 python-ruamel.yaml))
+
+(define-public python-cbor
+  (package
+    (name "python-cbor")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cbor" version))
+       (sha256
+        (base32
+         "1dmv163cnslyqccrybkxn0c9s1jk1mmafmgxv75iamnz5lk5l8hk"))))
+    (build-system python-build-system)
+    (home-page "https://bitbucket.org/bodhisnarkva/cbor";)
+    (synopsis "Implementation of the Concise Binary Object Representation")
+    (description
+     "Python-cbor provides an implementation of the Concise Binary Object
+Representation (CBOR).  CBOR is comparable to JSON, has a superset of JSON's
+ability, but serializes to a binary format which is smaller and faster to
+generate and parse.  The two primary functions are @code{cbor.loads} and
address@hidden")
+    (license license:asl2.0)))



reply via email to

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