Loading pkgs/development/python-modules/pyenphase/default.nix +4 −5 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ pytest-cov-stub, pytest-timeout, pytestCheckHook, pythonOlder, python-jsonpath, respx, syrupy, tenacity, Loading @@ -22,16 +22,14 @@ buildPythonPackage rec { pname = "pyenphase"; version = "2.3.1"; version = "2.4.1"; pyproject = true; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "pyenphase"; repo = "pyenphase"; tag = "v${version}"; hash = "sha256-Z6txaTkIkUTYWVWbsmvoI/huDTZKX5DxePqM5rsmIWY="; hash = "sha256-KgkXOWnKjnG3qHJN+NxHxeqEo+zVrWtWP0l3Lmn+NtI="; }; pythonRelaxDeps = [ "tenacity" ]; Loading @@ -54,6 +52,7 @@ buildPythonPackage rec { pytest-cov-stub pytest-timeout pytestCheckHook python-jsonpath respx syrupy ]; Loading pkgs/development/python-modules/python-jsonpath/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { 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 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading
pkgs/development/python-modules/pyenphase/default.nix +4 −5 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ pytest-cov-stub, pytest-timeout, pytestCheckHook, pythonOlder, python-jsonpath, respx, syrupy, tenacity, Loading @@ -22,16 +22,14 @@ buildPythonPackage rec { pname = "pyenphase"; version = "2.3.1"; version = "2.4.1"; pyproject = true; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "pyenphase"; repo = "pyenphase"; tag = "v${version}"; hash = "sha256-Z6txaTkIkUTYWVWbsmvoI/huDTZKX5DxePqM5rsmIWY="; hash = "sha256-KgkXOWnKjnG3qHJN+NxHxeqEo+zVrWtWP0l3Lmn+NtI="; }; pythonRelaxDeps = [ "tenacity" ]; Loading @@ -54,6 +52,7 @@ buildPythonPackage rec { pytest-cov-stub pytest-timeout pytestCheckHook python-jsonpath respx syrupy ]; Loading
pkgs/development/python-modules/python-jsonpath/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { 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 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { };