mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
Diff: https://github.com/ICRAR/ijson/compare/v3.5.1...v3.6.0 Changelog: https://github.com/ICRAR/ijson/blob/v3.6.0/CHANGELOG.md
38 lines
806 B
Nix
38 lines
806 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
yajl,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "ijson";
|
|
version = "3.6.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ICRAR";
|
|
repo = "ijson";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-jlap3pf17SM8AQOoYZCPuGOnNC/oRLBONBgA5NgJQYQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
buildInputs = [ yajl ];
|
|
|
|
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/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
})
|