Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / proto-plus / default.nix
blob120d5215b2fe0a302bc11bc36c5953c7926b609b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy3k
5 , protobuf
6 , googleapis-common-protos
7 , pytestCheckHook
8 , pytz
9 }:
11 buildPythonPackage rec {
12   pname = "proto-plus";
13   version = "1.18.1";
14   disabled = !isPy3k;
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "sha256-z8RUdMftoP48S57KJUISTyoP9VQyQr7GHo0IvOD1vUg=";
19   };
21   propagatedBuildInputs = [ protobuf ];
23   checkInputs = [ pytestCheckHook pytz googleapis-common-protos ];
25   pythonImportsCheck = [ "proto" ];
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   };