93b45825dd
makes parsing a lot faster.
24 lines
625 B
Nix
24 lines
625 B
Nix
{ lib, buildPythonPackage, fetchPypi, yajl, cffi, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ijson";
|
|
version = "3.1.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea";
|
|
};
|
|
|
|
buildInputs = [ yajl ];
|
|
propagatedBuildInputs = [ cffi ];
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Iterative JSON parser with a standard Python iterator interface";
|
|
homepage = "https://github.com/ICRAR/ijson";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ rvl ];
|
|
};
|
|
}
|