lol

Merge pull request #255455 from r-ryantm/auto-update/python310Packages.jsonpath-ng

python310Packages.jsonpath-ng: 1.5.3 -> 1.6.0

authored by

Fabian Affolter and committed by
GitHub
7c2ddffb 624c2017

+17 -11
+17 -11
pkgs/development/python-modules/jsonpath-ng/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , decorator 4 , fetchFromGitHub 5 , ply 6 , pytestCheckHook 7 - , six 8 }: 9 10 buildPythonPackage rec { 11 pname = "jsonpath-ng"; 12 - version = "1.5.3"; 13 14 src = fetchFromGitHub { 15 owner = "h2non"; 16 repo = pname; 17 - # missing tag https://github.com/h2non/jsonpath-ng/issues/114 18 - rev = "cce4a3d4063ac8af928795acc53beb27a2bfd101"; 19 - hash = "sha256-+9iQHQs5TQhZFeIqMlsa3FFPfZEktAWy1lSdJU7kZrc="; 20 }; 21 22 propagatedBuildInputs = [ 23 - decorator 24 ply 25 - six 26 ]; 27 28 - nativeCheckInputs = [ pytestCheckHook ]; 29 30 disabledTestPaths = [ 31 # Exclude tests that require oslotest 32 "tests/test_jsonpath_rw_ext.py" 33 ]; 34 35 - pythonImportsCheck = [ "jsonpath_ng" ]; 36 37 meta = with lib; { 38 - description = "JSONPath implementation for Python"; 39 homepage = "https://github.com/h2non/jsonpath-ng"; 40 license = with licenses; [ asl20 ]; 41 maintainers = with maintainers; [ fab ]; 42 };
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , ply 5 , pytestCheckHook 6 + , pythonOlder 7 + , setuptools 8 }: 9 10 buildPythonPackage rec { 11 pname = "jsonpath-ng"; 12 + version = "1.6.0"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "h2non"; 19 repo = pname; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-q4kIH/2+VKdlSa+IhJ3ymHpc5gmml9lW4aJS477/YSo="; 22 }; 23 24 propagatedBuildInputs = [ 25 ply 26 + setuptools 27 ]; 28 29 + nativeCheckInputs = [ 30 + pytestCheckHook 31 + ]; 32 33 disabledTestPaths = [ 34 # Exclude tests that require oslotest 35 "tests/test_jsonpath_rw_ext.py" 36 ]; 37 38 + pythonImportsCheck = [ 39 + "jsonpath_ng" 40 + ]; 41 42 meta = with lib; { 43 + description = "JSONPath implementation"; 44 homepage = "https://github.com/h2non/jsonpath-ng"; 45 + changelog = "https://github.com/h2non/jsonpath-ng/blob/v${version}/History.md"; 46 license = with licenses; [ asl20 ]; 47 maintainers = with maintainers; [ fab ]; 48 };