Files
nixpkgs/pkgs/development/python-modules/ijson/default.nix
2025-10-12 22:20:03 +00:00

42 lines
820 B
Nix

{
lib,
buildPythonPackage,
cffi,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools,
yajl,
}:
buildPythonPackage rec {
pname = "ijson";
version = "3.4.0.post0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-mqAtxwuyRWcKbKf7pze5kq7rSJU2CYBiL35Wjb8j5B4=";
};
build-system = [ setuptools ];
buildInputs = [ yajl ];
dependencies = [ cffi ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ijson" ];
meta = with lib; {
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 = licenses.bsd3;
maintainers = [ ];
};
}