Robert Schütz 2024-10-27 08:44:13 -07:00
parent 3e32c07b1b
commit c7d00bca5e

View File

@ -2,7 +2,7 @@
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytestCheckHook,
@ -10,19 +10,19 @@
buildPythonPackage rec {
pname = "bite-parser";
version = "0.2.4";
version = "0.2.5";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
format = "pyproject";
src = fetchPypi {
pname = "bite_parser";
inherit version;
hash = "sha256-Uq2FDoo5gztMRqtdkKYX0RULhjFgy+DeujC6BTZ3CZI=";
src = fetchFromGitHub {
owner = "jgosmann";
repo = "bite-parser";
rev = "refs/tags/v${version}";
hash = "sha256-C508csRbjCeLgkp66TwDuxUtMITTmub5/TFv8x80HLA=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
nativeCheckInputs = [
pytest-asyncio
@ -34,7 +34,7 @@ buildPythonPackage rec {
meta = {
description = "Asynchronous parser taking incremental bites out of your byte input stream";
homepage = "https://github.com/jgosmann/bite-parser";
changelog = "https://github.com/jgosmann/bite-parser/blob/v${version}/CHANGELOG.rst";
changelog = "https://github.com/jgosmann/bite-parser/blob/${src.rev}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};