unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add python2-jsonrpclib
@ 2016-06-10  0:14 Daniel Pimentel
  2016-06-10  5:50 ` Ben Woodcroft
  2016-06-14 19:52 ` [PATCH] gnu: Update python2-jsonrpclib Daniel Pimentel
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Pimentel @ 2016-06-10  0:14 UTC (permalink / raw)
  To: guix-devel

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

Hi guix,

Add python2-jsonrpclib package for Guix in attach.

Thanks,

-- 
Daniel Pimentel (aka d4n1)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-jsonrpclib.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-python-jsonrpclib.patch, Size: 1939 bytes --]

From 5e96d11f9569c111a9c07fa82432d5899a2e7bdc Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d4n1@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 <dannym+a@scratchpost.org>
 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016 Daniel Pimentel <d4n1@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


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

end of thread, other threads:[~2016-06-18  0:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10  0:14 [PATCH] gnu: Add python2-jsonrpclib Daniel Pimentel
2016-06-10  5:50 ` Ben Woodcroft
2016-06-11 23:28   ` d4n1
2016-06-14 19:52 ` [PATCH] gnu: Update python2-jsonrpclib Daniel Pimentel
2016-06-16 12:10   ` [PATCH] gnu: Update python2-jsonrpclib (refactor) Daniel Pimentel
2016-06-18  0:22     ` Leo Famulari
2016-06-18  0:39       ` [PATCH 1/1] gnu: Update python2-jsonrpclib Daniel Pimentel

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).