python310Packages.ijson: add changelog to meta
- add pythonImportsCheck
This commit is contained in:
parent
01acdb48b8
commit
4ce6a0e71a
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue