about summary refs log tree commit diff
path: root/pkgs/development/python-modules/protobuf3-to-dict/default.nix
blob: e613c1d23eb28d0658353ad601b45b2bcd73c687 (plain) (blame)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  protobuf,
  six,
}:

buildPythonPackage rec {
  pname = "protobuf3-to-dict";
  version = "0.1.5";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0nibblvj3n20zvq6d73zalbjqjby0w8ji5mim7inhn7vb9dw4hhy";
  };

  doCheck = false;

  pythonImportsCheck = [ "protobuf_to_dict" ];

  propagatedBuildInputs = [
    protobuf
    six
  ];

  meta = with lib; {
    description = "Teeny Python library for creating Python dicts from protocol buffers and the reverse";
    homepage = "https://github.com/kaporzhu/protobuf-to-dict";
    license = licenses.publicDomain;
    maintainers = with maintainers; [ nequissimus ];
  };
}