summary refs log tree commit diff
path: root/pkgs/development/tools/protoc-gen-doc/default.nix
diff options
context:
space:
mode:
authorWael Nasreddine <wael.nasreddine@gmail.com>2019-07-01 20:52:06 -0700
committerGitHub <noreply@github.com>2019-07-01 20:52:06 -0700
commit06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae (patch)
treeab88b484112f7d083730d2b8f2416b0ed1c631dc /pkgs/development/tools/protoc-gen-doc/default.nix
parent80f39fb0c15d4ca06eead87452b22e0b181929cc (diff)
downloadnixpkgs-06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae.tar
nixpkgs-06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae.tar.gz
nixpkgs-06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae.tar.bz2
nixpkgs-06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae.tar.lz
nixpkgs-06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae.tar.xz
nixpkgs-06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae.tar.zst
nixpkgs-06d3491d2a3acbff4af34c2c5b14e7f8a2f5a0ae.zip
protoc-gen-doc: init unstable at 2019-04-22 (#64093)
Diffstat (limited to 'pkgs/development/tools/protoc-gen-doc/default.nix')
-rw-r--r--pkgs/development/tools/protoc-gen-doc/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/tools/protoc-gen-doc/default.nix b/pkgs/development/tools/protoc-gen-doc/default.nix
new file mode 100644
index 00000000000..559383f45fe
--- /dev/null
+++ b/pkgs/development/tools/protoc-gen-doc/default.nix
@@ -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 ];
+  };
+}