nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 859 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytest-asyncio, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "bite-parser"; 12 version = "0.2.5"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "jgosmann"; 17 repo = "bite-parser"; 18 tag = "v${version}"; 19 hash = "sha256-C508csRbjCeLgkp66TwDuxUtMITTmub5/TFv8x80HLA="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 nativeCheckInputs = [ 25 pytest-asyncio 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "bite" ]; 30 31 meta = { 32 description = "Asynchronous parser taking incremental bites out of your byte input stream"; 33 homepage = "https://github.com/jgosmann/bite-parser"; 34 changelog = "https://github.com/jgosmann/bite-parser/blob/${src.rev}/CHANGELOG.rst"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ dotlambda ]; 37 }; 38}