1{ lib, buildPythonPackage, fetchPypi, protobuf, six }:
2
3buildPythonPackage rec {
4 pname = "protobuf3-to-dict";
5 version = "0.1.5";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0nibblvj3n20zvq6d73zalbjqjby0w8ji5mim7inhn7vb9dw4hhy";
10 };
11
12 doCheck = false;
13
14 pythonImportsCheck = [ "protobuf_to_dict" ];
15
16 propagatedBuildInputs = [ protobuf six ];
17
18 meta = with lib; {
19 description = "A teeny Python library for creating Python dicts from protocol buffers and the reverse";
20 homepage = "https://github.com/kaporzhu/protobuf-to-dict";
21 license = licenses.publicDomain;
22 maintainers = with maintainers; [ nequissimus ];
23 };
24}