diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-15 16:43:27 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-17 07:46:56 +0200 |
commit | 63877c6a40d0b941483ccc2064ec4b0bd603ff87 (patch) | |
tree | 555cce1c370600f8eb76a3b739cce3d608b95ee9 /pkgs/development/python-modules/jsonpath_rw | |
parent | 62d972b0b149fff805db781638491873dd798c78 (diff) |
pythonPackages.jsonpath_rw: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/jsonpath_rw')
-rw-r--r-- | pkgs/development/python-modules/jsonpath_rw/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jsonpath_rw/default.nix b/pkgs/development/python-modules/jsonpath_rw/default.nix new file mode 100644 index 0000000000000..a109404c06f51 --- /dev/null +++ b/pkgs/development/python-modules/jsonpath_rw/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, isPyPy +, ply +, six +, decorator +}: + +buildPythonPackage rec { + pname = "jsonpath-rw"; + version = "1.4.0"; + disabled = isPyPy; + + src = fetchPypi { + inherit pname version; + sha256 = "05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fac4fbec"; + }; + + propagatedBuildInputs = [ ply six decorator ]; + + # ImportError: No module named tests + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://github.com/kennknowles/python-jsonpath-rw; + description = "A robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming"; + license = licenses.asl20; + }; + +} |