python310Packages.ijson: add changelog to meta

- add pythonImportsCheck
This commit is contained in:
Fabian Affolter 2023-01-09 21:52:41 +01:00 committed by GitHub
parent 01acdb48b8
commit 4ce6a0e71a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,10 @@
{ lib, buildPythonPackage, fetchPypi, yajl, cffi, pytestCheckHook }: { lib
, buildPythonPackage
, fetchPypi
, yajl
, cffi
, pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ijson"; pname = "ijson";
@ -6,18 +12,31 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-gKW9fpkjyrIAcB9nrSNyEEMouZ3fJJ276INBAshS0xY="; hash = "sha256-gKW9fpkjyrIAcB9nrSNyEEMouZ3fJJ276INBAshS0xY=";
}; };
buildInputs = [ yajl ]; buildInputs = [
propagatedBuildInputs = [ cffi ]; yajl
checkInputs = [ pytestCheckHook ]; ];
propagatedBuildInputs = [
cffi
];
checkInputs = [
pytestCheckHook
];
doCheck = true; doCheck = true;
pythonImportsCheck = [
"ijson"
];
meta = with lib; { meta = with lib; {
description = "Iterative JSON parser with a standard Python iterator interface"; description = "Iterative JSON parser with a standard Python iterator interface";
homepage = "https://github.com/ICRAR/ijson"; homepage = "https://github.com/ICRAR/ijson";
changelog = "https://github.com/ICRAR/ijson/blob/v${version}/CHANGELOG.md";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ rvl ]; maintainers = with maintainers; [ rvl ];
}; };