diff options
author | Tim Steinbach <tim@nequissimus.com> | 2021-02-16 15:55:00 -0500 |
---|---|---|
committer | Tim Steinbach <NeQuissimus@users.noreply.github.com> | 2021-02-21 16:02:35 -0500 |
commit | b59301034873f132dd6971099446f2ceb3b060ae (patch) | |
tree | 02a0c3de0d535f9ff4f1f78a85b18d5e4ffb1c77 /pkgs/development/python-modules | |
parent | 0c3514f7821e1de0c012129d9770fe9254a08d8c (diff) |
pythonPackages.protobuf3-to-dict: Init at 0.1.5
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/protobuf3-to-dict/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/protobuf3-to-dict/default.nix b/pkgs/development/python-modules/protobuf3-to-dict/default.nix new file mode 100644 index 0000000000000..008d9a6002479 --- /dev/null +++ b/pkgs/development/python-modules/protobuf3-to-dict/default.nix @@ -0,0 +1,25 @@ +{ lib, buildPythonPackage, fetchPypi, protobuf, six }: + +buildPythonPackage rec { + pname = "protobuf3-to-dict"; + version = "0.1.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "0nibblvj3n20zvq6d73zalbjqjby0w8ji5mim7inhn7vb9dw4hhy"; + }; + + doCheck = false; + + pythonImportsCheck = [ "protobuf_to_dict" ]; + + propagatedBuildInputs = [ protobuf six ]; + + meta = with lib; { + description = + "A 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 ]; + }; +} |