From ea0421bbf6b4f0fcd2418d0a96e53eb4339574b5 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Mon, 6 Nov 2017 22:39:11 +1100 Subject: [PATCH] gnu: Add python-jsonrpclib-pelix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python.scm (python-jsonrpclib-pelix, python2-jsonrpclib-pelix): New variables. Co-authored-by: Ludovic Courtès --- gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e506f6dfd3..5b11a6371c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -16897,3 +16897,27 @@ embeddable JavaScript engine.") (define-public python2-dukpy (package-with-python2 python-dukpy)) + +(define-public python-jsonrpclib-pelix + (package + (name "python-jsonrpclib-pelix") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jsonrpclib-pelix" version)) + (sha256 + (base32 + "1qs95vxplxwspbrqy8bvc195s58iy43qkf75yrjfql2sim8b25sl")))) + (build-system python-build-system) + (home-page "https://github.com/tcalmant/jsonrpclib/") + (synopsis "JSON-RPC 2.0 client library for Python") + (description + "This library implements the JSON-RPC v2.0 +specification (backwards-compatible) as a client library for Python. This +version is a fork of jsonrpclib by Josh Marshall, usable with Pelix remote +services.") + (license license:asl2.0))) + +(define-public python2-jsonrpclib-pelix + (package-with-python2 python-jsonrpclib-pelix))