2022-05-26 19:13:57 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, poetry-core
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bite-parser";
|
2024-01-08 14:51:54 +01:00
|
|
|
version = "0.2.4";
|
2022-05-26 19:13:57 +02:00
|
|
|
|
2023-01-12 10:58:22 +01:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-05-26 19:13:57 +02:00
|
|
|
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-01-12 10:58:22 +01:00
|
|
|
pname = "bite_parser";
|
|
|
|
inherit version;
|
2024-01-08 14:51:54 +01:00
|
|
|
hash = "sha256-Uq2FDoo5gztMRqtdkKYX0RULhjFgy+DeujC6BTZ3CZI=";
|
2022-05-26 19:13:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
2023-01-21 13:00:00 +01:00
|
|
|
nativeCheckInputs = [
|
2022-05-26 19:13:57 +02:00
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "bite" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Asynchronous parser taking incremental bites out of your byte input stream";
|
|
|
|
homepage = "https://github.com/jgosmann/bite-parser";
|
2022-06-11 17:39:22 +02:00
|
|
|
changelog = "https://github.com/jgosmann/bite-parser/blob/v${version}/CHANGELOG.rst";
|
2022-05-26 19:13:57 +02:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|