11 buildPythonPackage rec {
12 pname = "jsonpath-ng";
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-0ErTGxGlMn/k2KMwRV26WJpx85yJUfn6Hgp5pU4RZA4=";
25 propagatedBuildInputs = [
30 nativeCheckInputs = [ pytestCheckHook ];
33 # Exclude tests that require oslotest
34 "tests/test_jsonpath_rw_ext.py"
37 pythonImportsCheck = [ "jsonpath_ng" ];
40 description = "JSONPath implementation";
41 mainProgram = "jsonpath_ng";
42 homepage = "https://github.com/h2non/jsonpath-ng";
43 changelog = "https://github.com/h2non/jsonpath-ng/blob/v${version}/History.md";
44 license = with licenses; [ asl20 ];
45 maintainers = with maintainers; [ fab ];