mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-07 05:43:41 +00:00
39 lines
760 B
Nix
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 = [ ];
|
|
};
|
|
}
|