diff --git a/pkgs/development/python-modules/jsonpath-python/default.nix b/pkgs/development/python-modules/jsonpath-python/default.nix new file mode 100644 index 0000000000000..ac8dc699f8458 --- /dev/null +++ b/pkgs/development/python-modules/jsonpath-python/default.nix @@ -0,0 +1,27 @@ +{ + buildPythonPackage, + fetchPypi, + lib, + pytestCheckHook, + setuptools, +}: +buildPythonPackage rec { + pname = "jsonpath-python"; + version = "1.0.6"; + pyproject = true; + src = fetchPypi { + inherit pname version; + hash = "sha256-3Vvkpy2KKZXD9YPPgr880alUTP2r8tIllbZ6/wc0lmY="; + }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "jsonpath" ]; + pytestFlagsArray = [ "test/test*.py" ]; + + meta = with lib; { + homepage = "https://github.com/sean2077/jsonpath-python"; + description = "A more powerful JSONPath implementations in modern python."; + maintainers = with maintainers; [ dadada ]; + license = with licenses; [ mit ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 78a8674d3e1d4..36ec58f3f8848 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6719,6 +6719,8 @@ self: super: with self; { jsonpath-ng = callPackage ../development/python-modules/jsonpath-ng { }; + jsonpath-python = callPackage ../development/python-modules/jsonpath-python { }; + jsonpickle = callPackage ../development/python-modules/jsonpickle { }; jsonpointer = callPackage ../development/python-modules/jsonpointer { };