From 9a1fb8fce3b210a56a872a1839b9201496f59bf2 Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Fri, 27 Dec 2024 11:26:19 +0100 Subject: [PATCH] pythonPackages.jsonpath-python: init at 1.0.6 --- .../python-modules/jsonpath-python/default.nix | 14 ++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/python-modules/jsonpath-python/default.nix 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..a1f8d1ec24783 --- /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 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 { };