mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
41 lines
814 B
Nix
41 lines
814 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cffi,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
yajl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ijson";
|
|
version = "3.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-fxcua6G+4NTI+OvWOVd7/kKd7g8/lndaBnuLrkSS2KA=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|