depot/third_party/nixpkgs/pkgs/development/python-modules/proto-plus/default.nix
Default email 9c6d255489 Project import generated by Copybara.
GitOrigin-RevId: 8133b9cb5f7c00d4fe31c8c2c4b525bc2650bfc0
2020-10-16 20:44:37 +00:00

30 lines
654 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, protobuf
, google_api_core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "proto-plus";
version = "1.10.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0n8ia51jg2dkab2sf0qnh39bssqhz65ybcqr78f3zzf7ja923lkr";
};
propagatedBuildInputs = [ protobuf ];
checkInputs = [ pytestCheckHook google_api_core ];
meta = with stdenv.lib; {
description = "Beautiful, idiomatic protocol buffers in Python";
homepage = "https://github.com/googleapis/proto-plus-python";
license = licenses.asl20;
maintainers = [ maintainers.ruuda ];
};
}