nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 38 lines 766 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cffi, 5 fetchPypi, 6 pytestCheckHook, 7 setuptools, 8 yajl, 9}: 10 11buildPythonPackage rec { 12 pname = "ijson"; 13 version = "3.4.0.post0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-mqAtxwuyRWcKbKf7pze5kq7rSJU2CYBiL35Wjb8j5B4="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 buildInputs = [ yajl ]; 24 25 dependencies = [ cffi ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "ijson" ]; 30 31 meta = { 32 description = "Iterative JSON parser with a standard Python iterator interface"; 33 homepage = "https://github.com/ICRAR/ijson"; 34 changelog = "https://github.com/ICRAR/ijson/blob/v${version}/CHANGELOG.md"; 35 license = lib.licenses.bsd3; 36 maintainers = [ ]; 37 }; 38}