1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, protobuf
6, googleapis-common-protos
7, pytestCheckHook
8, pytz
9}:
10
11buildPythonPackage rec {
12 pname = "proto-plus";
13 version = "1.19.4";
14 disabled = !isPy3k;
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "416dc38b090ca2093f6fac74977ac4a5599e496483a43c0076e6f6a4dd77ed9c";
19 };
20
21 propagatedBuildInputs = [ protobuf ];
22
23 checkInputs = [ pytestCheckHook pytz googleapis-common-protos ];
24
25 pythonImportsCheck = [ "proto" ];
26
27 meta = with lib; {
28 description = "Beautiful, idiomatic protocol buffers in Python";
29 homepage = "https://github.com/googleapis/proto-plus-python";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ ruuda SuperSandro2000 ];
32 };
33}