nixpkgs/pkgs/development/python-modules/ijson/default.nix
Jörg Thalheim 93b45825dd python3.pkgs.ijson: enable yail backend
makes parsing a lot faster.
2022-05-16 11:37:54 -07:00

25 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 ];
};
}