From 9970f4fe9f8672f33778f7dbc2d751f8ca67cfd8 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 7 Dec 2015 16:22:00 -0500 Subject: [PATCH 6/8] gnu: Add python-jmespath. * gnu/packages/python.scm (python-jmespath): New variable. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f4f02e8..09035d5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7384,3 +7384,26 @@ filename and the .whl extension. It is designed to contain all the files for a PEP 376 compatible install in a way that is very close to the on-disk format.") (license license:expat))) + +(define-public python-jmespath + (package + (name "python-jmespath") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/j/jmespath/jmespath-" + version ".tar.gz")) + (sha256 + (base32 + "0g9xvl69y7nr3w7ag4fsp6sm4fqf6vrqjw7504x2hzrrsh3ampq8")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (synopsis "JSON Matching Expressions") + (description "JMESPath (pronounced “james path”) is a Python library that +allows one to declaratively specify how to extract elements from a JSON +document.") + (home-page "https://github.com/jmespath/jmespath.py") + (license license:expat))) -- 2.6.3