My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/proto-plus/default.nix

33 lines
732 B

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, protobuf
, googleapis-common-protos
, pytestCheckHook
, pytz
}:
buildPythonPackage rec {
pname = "proto-plus";
version = "1.20.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8osiW8nmwU4gb7f46Zakb7LM2QJkjlEtSWq7anFqSuU=";
};
propagatedBuildInputs = [ protobuf ];
checkInputs = [ pytestCheckHook pytz googleapis-common-protos ];
pythonImportsCheck = [ "proto" ];
meta = with lib; {
description = "Beautiful, idiomatic protocol buffers in Python";
homepage = "https://github.com/googleapis/proto-plus-python";
license = licenses.asl20;
maintainers = with maintainers; [ ruuda SuperSandro2000 ];
};
}