Files
2026-07-11 19:33:21 +00:00

39 lines
760 B
Nix

{
lib,
buildPythonPackage,
cffi,
fetchPypi,
pytestCheckHook,
setuptools,
yajl,
}:
buildPythonPackage rec {
pname = "ijson";
version = "3.5.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-r0C9GoX1XbC4swcVyFh2Ewa9ktVZAUhjb3XDMJ5udr0=";
};
build-system = [ setuptools ];
buildInputs = [ yajl ];
dependencies = [ cffi ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ijson" ];
meta = {
description = "Iterative JSON parser with a standard Python iterator interface";
homepage = "https://github.com/ICRAR/ijson";
changelog = "https://github.com/ICRAR/ijson/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}