1{ 2 buildPythonPackage, 3 fetchPypi, 4 lib, 5 pytestCheckHook, 6 setuptools, 7}: 8buildPythonPackage rec { 9 pname = "jsonpath-python"; 10 version = "1.0.6"; 11 pyproject = true; 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-3Vvkpy2KKZXD9YPPgr880alUTP2r8tIllbZ6/wc0lmY="; 15 }; 16 build-system = [ setuptools ]; 17 nativeCheckInputs = [ pytestCheckHook ]; 18 pythonImportsCheck = [ "jsonpath" ]; 19 enabledTestPaths = [ "test/test*.py" ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/sean2077/jsonpath-python"; 23 description = "More powerful JSONPath implementations in modern python"; 24 maintainers = with maintainers; [ dadada ]; 25 license = with licenses; [ mit ]; 26 }; 27}