mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add python2-jsonrpclib
* gnu/packages/python.scm (python2-jsonrpclib): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
d1dbeddd55
commit
0de78c95b5
1 changed files with 28 additions and 0 deletions
|
@ -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.
|
||||
;;;
|
||||
|
@ -9253,3 +9254,30 @@ (define-public python2-wcwidth
|
|||
(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)))
|
||||
|
|
Loading…
Reference in a new issue