Skip to content

Commit 3639fcc

Browse files
authored
python312Packages.bite-parser: 0.2.4 -> 0.2.5 (#351686)
2 parents bea39f8 + c7d00bc commit 3639fcc

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pkgs/development/python-modules/bite-parser/default.nix

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
lib,
33
buildPythonPackage,
44
pythonOlder,
5-
fetchPypi,
5+
fetchFromGitHub,
66
poetry-core,
77
pytest-asyncio,
88
pytestCheckHook,
99
}:
1010

1111
buildPythonPackage rec {
1212
pname = "bite-parser";
13-
version = "0.2.4";
13+
version = "0.2.5";
14+
pyproject = true;
1415

15-
disabled = pythonOlder "3.8";
16+
disabled = pythonOlder "3.9";
1617

17-
format = "pyproject";
18-
19-
src = fetchPypi {
20-
pname = "bite_parser";
21-
inherit version;
22-
hash = "sha256-Uq2FDoo5gztMRqtdkKYX0RULhjFgy+DeujC6BTZ3CZI=";
18+
src = fetchFromGitHub {
19+
owner = "jgosmann";
20+
repo = "bite-parser";
21+
rev = "refs/tags/v${version}";
22+
hash = "sha256-C508csRbjCeLgkp66TwDuxUtMITTmub5/TFv8x80HLA=";
2323
};
2424

25-
nativeBuildInputs = [ poetry-core ];
25+
build-system = [ poetry-core ];
2626

2727
nativeCheckInputs = [
2828
pytest-asyncio
@@ -34,7 +34,7 @@ buildPythonPackage rec {
3434
meta = {
3535
description = "Asynchronous parser taking incremental bites out of your byte input stream";
3636
homepage = "https://github.com/jgosmann/bite-parser";
37-
changelog = "https://github.com/jgosmann/bite-parser/blob/v${version}/CHANGELOG.rst";
37+
changelog = "https://github.com/jgosmann/bite-parser/blob/${src.rev}/CHANGELOG.rst";
3838
license = lib.licenses.mit;
3939
maintainers = with lib.maintainers; [ dotlambda ];
4040
};

0 commit comments

Comments
 (0)