nixpkgs/pkgs/development/python-modules/ijson/default.nix
Fabian Affolter 4ce6a0e71a
python310Packages.ijson: add changelog to meta
- add pythonImportsCheck
2023-01-09 21:52:41 +01:00

44 lines
764 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, yajl
, cffi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ijson";
version = "3.2.0.post0";
src = fetchPypi {
inherit pname version;
hash = "sha256-gKW9fpkjyrIAcB9nrSNyEEMouZ3fJJ276INBAshS0xY=";
};
buildInputs = [
yajl
];
propagatedBuildInputs = [
cffi
];
checkInputs = [
pytestCheckHook
];
doCheck = true;
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 = with maintainers; [ rvl ];
};
}