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