python3Packages.bbpb: init at 1.4.2

Library for working with protobuf messages without a protobuf
type definition

https://pypi.org/project/bbpb
This commit is contained in:
Fabian Affolter
2026-08-25 00:25:53 +02:00
parent 8cd54073df
commit 4562afa2f1
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchPypi,
nix-update-script,
poetry-core,
six,
}:
buildPythonPackage (finalAttrs: {
pname = "bbpb";
version = "1.4.2";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-A0RpkbxQDPyd0gSebMlImXnhV8Xst5PieTarPVedNJY=";
};
build-system = [ poetry-core ];
dependencies = [ six ];
pythonImportsCheck = [ "blackboxprotobuf" ];
# Would require to switch to GitHub as source
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
description = "Library for working with protobuf messages without a protobuf type definition";
homepage = "https://pypi.org/project/bbpb";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})

View File

@@ -2231,6 +2231,8 @@ self: super: with self; {
bbox = callPackage ../development/python-modules/bbox { };
bbpb = callPackage ../development/python-modules/bbpb { };
bc-detect-secrets = callPackage ../development/python-modules/bc-detect-secrets { };
bc-jsonpath-ng = callPackage ../development/python-modules/bc-jsonpath-ng { };