guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: Add python2-jsonrpclib


From: Leo Famulari
Subject: 01/01: gnu: Add python2-jsonrpclib
Date: Sat, 18 Jun 2016 00:21:21 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit 0de78c95b5ea286c5cb75a846b5d65a1fe82d0f8
Author: Daniel Pimentel <address@hidden>
Date:   Thu Jun 16 09:08:24 2016 -0300

    gnu: Add python2-jsonrpclib
    
    * gnu/packages/python.scm (python2-jsonrpclib): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/python.scm |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 97f4e6c..b294814 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2016 Danny Milosavljevic <address@hidden>
 ;;; Copyright © 2016 Lukas Gradl <address@hidden>
 ;;; Copyright © 2016 Hartmut Goebel <address@hidden>
+;;; Copyright © 2016 Daniel Pimentel <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9253,3 +9254,30 @@ specified in POSIX.1-2001 and POSIX.1-2008.")
     (inherit (package-with-python2
               (strip-python2-variant python-wcwidth)))
     (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python2-jsonrpclib
+  (package
+    (name "python2-jsonrpclib")
+    (version "0.1.7")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://pypi.python.org/packages/source/j/jsonrpclib/";
+                    "jsonrpclib-" version ".tar.gz"))
+              (sha256
+               (base32
+                "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python2-setuptools" ,python2-setuptools)))
+    (arguments
+     `(#:tests? #f
+       #:python ,python-2))
+    (home-page "https://github.com/joshmarshall/jsonrpclib/";)
+    (synopsis "Implementation of JSON-RPC specification for Python")
+    (description
+     "This library is an implementation of the JSON-RPC specification.
+It supports both the original 1.0 specification, as well as the
+new (proposed) 2.0 spec, which includes batch submission, keyword arguments,
+etc.")
+    (license asl2.0)))



reply via email to

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