depot/third_party/nixpkgs/pkgs/development/python-modules/ijson/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

24 lines
625 B
Nix

{ lib, buildPythonPackage, fetchPypi, yajl, cffi, pytestCheckHook }:
buildPythonPackage rec {
pname = "ijson";
version = "3.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "1d1003ae3c6115ec9b587d29dd136860a81a23c7626b682e2b5b12c9fd30e4ea";
};
buildInputs = [ yajl ];
propagatedBuildInputs = [ cffi ];
checkInputs = [ pytestCheckHook ];
doCheck = true;
meta = with lib; {
description = "Iterative JSON parser with a standard Python iterator interface";
homepage = "https://github.com/ICRAR/ijson";
license = licenses.bsd3;
maintainers = with maintainers; [ rvl ];
};
}