From 1bd39dbf752316f4b3e513645245409646e7f6f0 Mon Sep 17 00:00:00 2001 From: Daniel Pimentel Date: Fri, 17 Jun 2016 21:34:55 -0300 Subject: [PATCH 6/7] add python2-jsonrpclib * gnu/packages/python.py: add pypi-uri, change license. --- gnu/packages/python.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 21cb0c7..5dd27b4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9224,18 +9224,16 @@ specified in POSIX.1-2001 and POSIX.1-2008.") (version "0.1.7") (source (origin (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/j/jsonrpclib/jsonrpclib-" - version ".tar.gz")) + (uri (pypi-uri "jsonrpclib" version)) (sha256 (base32 "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z")))) (build-system python-build-system) - (inputs + (native-inputs `(("python2-setuptools" ,python2-setuptools))) (arguments `(#:tests? #f - #:python ,python-2)) + #:python ,python-2)) (home-page "https://github.com/joshmarshall/jsonrpclib/") (synopsis "Implementation of JSON-RPC specification for Python") (description @@ -9243,7 +9241,7 @@ specified in POSIX.1-2001 and POSIX.1-2008.") 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))) + (license license:asl2.0))) (define-public python2-pbkdf2 (package -- 2.7.4