blob: e92544a0a68b2012c42aeb14ea033606a82aecf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 ];
};
})
|