python3Packages.python-jsonpath: init at 2.0.1

This commit is contained in:
Robert Schütz
2025-10-31 09:34:23 -07:00
parent c73ab91600
commit 863bf3dfa6
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,46 @@
{
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
pytestCheckHook,
regex,
}:
buildPythonPackage rec {
pname = "python-jsonpath";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jg-rp";
repo = "python-jsonpath";
tag = "v${version}";
fetchSubmodules = true;
hash = "sha256-DiXBIo/I36rrn+RCQda+khfViCnzHwiGzK2X9ACF3io=";
};
build-system = [ hatchling ];
optional-dependencies = {
strict = [
# FIXME package iregexp-check
regex
];
};
pythonImportsCheck = [ "jsonpath" ];
nativeCheckInputs = [
pytestCheckHook
]
++ optional-dependencies.strict;
meta = {
changelog = "https://github.com/jg-rp/python-jsonpath/blob/${src.tag}/CHANGELOG.md";
description = "Flexible JSONPath engine for Python with JSON Pointer and JSON Patch";
homepage = "https://github.com/jg-rp/python-jsonpath";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
+2
View File
@@ -14989,6 +14989,8 @@ self: super: with self; {
python-json-logger = callPackage ../development/python-modules/python-json-logger { };
python-jsonpath = callPackage ../development/python-modules/python-jsonpath { };
python-jsonrpc-server = callPackage ../development/python-modules/python-jsonrpc-server { };
python-juicenet = callPackage ../development/python-modules/python-juicenet { };