1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPyPy
5, ply
6, six
7, decorator
8}:
9
10buildPythonPackage rec {
11 pname = "jsonpath-rw";
12 version = "1.4.0";
13 disabled = isPyPy;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fac4fbec";
18 };
19
20 propagatedBuildInputs = [ ply six decorator ];
21
22 # ImportError: No module named tests
23 doCheck = false;
24
25 meta = with lib; {
26 homepage = "https://github.com/kennknowles/python-jsonpath-rw";
27 description = "A robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming";
28 license = licenses.asl20;
29 };
30
31}