Hi guix,

Add python2-jsonrpclib package for Guix in attach.

Thanks,

--
Daniel Pimentel (aka d4n1)
From 5e96d11f9569c111a9c07fa82432d5899a2e7bdc Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d...@member.fsf.org>
Date: Thu, 9 Jun 2016 21:08:23 -0300
Subject: [PATCH] gnu: Add python-jsonrpclib

---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dfbf2cc..0ee6ade 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2016 Danny Milosavljevic <danny...@scratchpost.org>
 ;;; Copyright © 2016 Lukas Gradl <lgr...@openmailbox.org>
 ;;; Copyright © 2016 Hartmut Goebel <h.goe...@crazy-compilers.com>
+;;; Copyright © 2016 Daniel Pimentel <d...@d4n1.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9009,3 +9010,28 @@ focus on event-based network programming and multiprotocol integration.")
 
 (define-public python2-twisted
   (package-with-python2 python-twisted))
+
+(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)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (arguments `(#:tests? #f))
+    (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 license:expat)))
-- 
2.7.4

Reply via email to