1{ lib, buildPythonPackage, fetchPypi, yajl, cffi, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "ijson";
5 version = "3.1.4";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea";
10 };
11
12 buildInputs = [ yajl ];
13 propagatedBuildInputs = [ cffi ];
14 checkInputs = [ pytestCheckHook ];
15
16 doCheck = true;
17
18 meta = with lib; {
19 description = "Iterative JSON parser with a standard Python iterator interface";
20 homepage = "https://github.com/ICRAR/ijson";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ rvl ];
23 };
24}