From 1e92287d41771765edd6e42513afc83c64d6df4e Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 4 Jun 2017 15:41:02 +0200 Subject: [PATCH] gnu: Add python-jsonpointer. * gnu/packages/python.scm (python-jsonpointer, python2-jsonpointer): New variables. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 07f4f812c7..9676e33445 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15079,3 +15079,24 @@ (define-public python-nose-randomly (define-public python2-nose-randomly (package-with-python2 python-nose-randomly)) + +(define-public python-jsonpointer + (package + (name "python-jsonpointer") + (version "1.10") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jsonpointer" version)) + (sha256 + (base32 + "1cg0gvgqjysydv6p45v4jywg1jb3v48c7m3cbpi57zgf6nndr9cz")))) + (build-system python-build-system) + (home-page "https://github.com/stefankoegl/python-json-pointer") + (synopsis "Identify specific nodes in a JSON document") + (description "@code{jsonpointer} allows you to access specific nodes +by path in a JSON document (see RFC 6901).") + (license license:bsd-3))) + +(define-public python2-jsonpointer + (package-with-python2 python-jsonpointer))