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 format = "setuptools";
15 disabled = isPyPy;
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fac4fbec";
20 };
21
22 propagatedBuildInputs = [
23 ply
24 six
25 decorator
26 ];
27
28 # ImportError: No module named tests
29 doCheck = false;
30
31 meta = with lib; {
32 homepage = "https://github.com/kennknowles/python-jsonpath-rw";
33 description = "Robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming";
34 mainProgram = "jsonpath.py";
35 license = licenses.asl20;
36 };
37}