File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
pkgs/development/python-modules/bite-parser Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 pythonOlder ,
5- fetchPypi ,
5+ fetchFromGitHub ,
66 poetry-core ,
77 pytest-asyncio ,
88 pytestCheckHook ,
99} :
1010
1111buildPythonPackage 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 } ;
You can’t perform that action at this time.
0 commit comments