git.iko.soy/typeable/nixpkgs
on master help sign in
protoc-gen-doc: init unstable at 2019-04-22 (#64093)
commit06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae authorWael Nasreddine <wael.nasreddine@gmail.com> dateMon 1 Jul 2019, 20:52 (7 years ago) parent80f39fb
2 files changed+32
pkgs/development/tools/protoc-gen-doc/default.nix+30 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/protoc-gen-doc/default.nixnew file+30
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -163,6 +163,8 @@ in
163163
164164 proto-contrib = callPackage ../development/tools/proto-contrib {};
165165
166+ protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
167+
166168 demoit = callPackage ../servers/demoit { };
167169
168170 diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;