1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "jsonpath"; 10 version = "0.82.2"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-2H7yvLze1o7pa8NMGAm2lFfs7JsMTdRxZYoSvTkQAtE="; 18 }; 19 20 nativeCheckInputs = [ 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ 25 "jsonpath" 26 ]; 27 28 pytestFlagsArray = [ 29 "test/test*.py" 30 ]; 31 32 meta = with lib; { 33 description = "An XPath for JSON"; 34 homepage = "https://github.com/json-path/JsonPath"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ mic92 ]; 37 }; 38}