1{ 2 lib, 3 buildPythonPackage, 4 cffi, 5 fetchPypi, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9 yajl, 10}: 11 12buildPythonPackage rec { 13 pname = "ijson"; 14 version = "3.4.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-X3TcutnVksQo08o5V/cRWkJonufulBRYhgkAI2rpuxM="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 buildInputs = [ yajl ]; 27 28 dependencies = [ cffi ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "ijson" ]; 33 34 meta = with lib; { 35 description = "Iterative JSON parser with a standard Python iterator interface"; 36 homepage = "https://github.com/ICRAR/ijson"; 37 changelog = "https://github.com/ICRAR/ijson/blob/v${version}/CHANGELOG.md"; 38 license = licenses.bsd3; 39 maintainers = [ ]; 40 }; 41}