depot/third_party/nixpkgs/pkgs/development/python-modules/protobuf3-to-dict/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
702 B
Nix

{
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 ];
};
}