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 00000000000000..a1f8d1ec247832 --- /dev/null +++ b/pkgs/development/python-modules/jsonpath-python/default.nix @@ -0,0 +1,14 @@ +{ buildPythonPackage, fetchPypi, 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" ]; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 78a8674d3e1d41..36ec58f3f8848c 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 { };