diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-09-16 17:13:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 17:13:31 +0200 |
commit | 7c2ddffb6137576ec1ce93fb090a350c1435387a (patch) | |
tree | 9acadaff4453d0f6ffa8bfd4bb0f6aa173101cff | |
parent | 624c20171e9473f114f91d6c08f8a4e49ca3752e (diff) | |
parent | 93dd304d02157a6e9a20bd57f87a4dbcaef00c9e (diff) |
Merge pull request #255455 from r-ryantm/auto-update/python310Packages.jsonpath-ng
python310Packages.jsonpath-ng: 1.5.3 -> 1.6.0
-rw-r--r-- | pkgs/development/python-modules/jsonpath-ng/default.nix | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/jsonpath-ng/default.nix b/pkgs/development/python-modules/jsonpath-ng/default.nix index 3f189a89439b2..edda6a341e327 100644 --- a/pkgs/development/python-modules/jsonpath-ng/default.nix +++ b/pkgs/development/python-modules/jsonpath-ng/default.nix @@ -1,42 +1,48 @@ { lib , buildPythonPackage -, decorator , fetchFromGitHub , ply , pytestCheckHook -, six +, pythonOlder +, setuptools }: buildPythonPackage rec { pname = "jsonpath-ng"; - version = "1.5.3"; + version = "1.6.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "h2non"; repo = pname; - # missing tag https://github.com/h2non/jsonpath-ng/issues/114 - rev = "cce4a3d4063ac8af928795acc53beb27a2bfd101"; - hash = "sha256-+9iQHQs5TQhZFeIqMlsa3FFPfZEktAWy1lSdJU7kZrc="; + rev = "refs/tags/v${version}"; + hash = "sha256-q4kIH/2+VKdlSa+IhJ3ymHpc5gmml9lW4aJS477/YSo="; }; propagatedBuildInputs = [ - decorator ply - six + setuptools ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ]; disabledTestPaths = [ # Exclude tests that require oslotest "tests/test_jsonpath_rw_ext.py" ]; - pythonImportsCheck = [ "jsonpath_ng" ]; + pythonImportsCheck = [ + "jsonpath_ng" + ]; meta = with lib; { - description = "JSONPath implementation for Python"; + description = "JSONPath implementation"; homepage = "https://github.com/h2non/jsonpath-ng"; + changelog = "https://github.com/h2non/jsonpath-ng/blob/v${version}/History.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; |