@@ -0,0 +1,30 @@
1+{ buildGoModule, fetchFromGitHub, lib }:
2+
3+buildGoModule rec {
4+ name = "protoc-gen-doc-unstable-${version}";
5+ version = "2019-04-22";
6+
7+ src = fetchFromGitHub {
8+ owner = "pseudomuto";
9+ repo = "protoc-gen-doc";
10+ rev = "f824a8908ce33f213b2dba1bf7be83384c5c51e8";
11+ sha256 = "004axh2gqc4f115mdxxg59d19hph3rr0bq9d08n3nyl315f590kj";
12+ };
13+
14+ modSha256 = "1952ycdkgl00q2s3qmhislhhim15nn6nmlkwbfdvrsfzznqj47rd";
15+
16+ meta = with lib; {
17+ description = "Documentation generator plugin for Google Protocol Buffers";
18+ longDescription = ''
19+ This is a documentation generator plugin for the Google Protocol Buffers
20+ compiler (protoc). The plugin can generate HTML, JSON, DocBook and
21+ Markdown documentation from comments in your .proto files.
22+
23+ It supports proto2 and proto3, and can handle having both in the same
24+ context.
25+ '';
26+ homepage = "https://github.com/pseudomuto/protoc-gen-doc";
27+ license = licenses.mit;
28+ maintainers = with maintainers; [ kalbasit ];
29+ };
30+}