protoc-gen-doc: init unstable at 2019-04-22 (#64093)

This commit is contained in:
Wael Nasreddine 2019-07-01 20:52:06 -07:00 committed by GitHub
parent 80f39fb0c1
commit 06d3491d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
name = "protoc-gen-doc-unstable-${version}";
version = "2019-04-22";
src = fetchFromGitHub {
owner = "pseudomuto";
repo = "protoc-gen-doc";
rev = "f824a8908ce33f213b2dba1bf7be83384c5c51e8";
sha256 = "004axh2gqc4f115mdxxg59d19hph3rr0bq9d08n3nyl315f590kj";
};
modSha256 = "1952ycdkgl00q2s3qmhislhhim15nn6nmlkwbfdvrsfzznqj47rd";
meta = with lib; {
description = "Documentation generator plugin for Google Protocol Buffers";
longDescription = ''
This is a documentation generator plugin for the Google Protocol Buffers
compiler (protoc). The plugin can generate HTML, JSON, DocBook and
Markdown documentation from comments in your .proto files.
It supports proto2 and proto3, and can handle having both in the same
context.
'';
homepage = "https://github.com/pseudomuto/protoc-gen-doc";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};
}

View File

@ -163,6 +163,8 @@ in
proto-contrib = callPackage ../development/tools/proto-contrib {};
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
demoit = callPackage ../servers/demoit { };
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;