mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 03:57:58 +03:00
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 {
|
||||
pname = "ijson";
|
||||
@ -6,18 +12,31 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-gKW9fpkjyrIAcB9nrSNyEEMouZ3fJJ276INBAshS0xY=";
|
||||
hash = "sha256-gKW9fpkjyrIAcB9nrSNyEEMouZ3fJJ276INBAshS0xY=";
|
||||
};
|
||||
|
||||
buildInputs = [ yajl ];
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user