Files
2026-02-24 14:02:09 +00:00

39 lines
760 B
Nix

{
lib,
buildPythonPackage,
cffi,
fetchPypi,
pytestCheckHook,
setuptools,
yajl,
}:
buildPythonPackage rec {
pname = "ijson";
version = "3.5.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-lGiHYHIOP1IScxs8uNMCZ/mgRfs4+zhwJU57lQQkbzE=";
};
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 = [ ];
};
}