2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-07-02 03:52:06 +00:00
|
|
|
|
2021-09-29 12:32:33 +00:00
|
|
|
buildGoModule rec {
|
2022-04-25 20:23:14 +00:00
|
|
|
pname = "protoc-gen-doc";
|
|
|
|
version = "1.5.1";
|
2019-07-02 03:52:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pseudomuto";
|
|
|
|
repo = "protoc-gen-doc";
|
2021-09-29 12:32:33 +00:00
|
|
|
rev = "v${version}";
|
2022-04-25 20:23:14 +00:00
|
|
|
sha256 = "sha256-19CN62AwqQGq5Gb5kQqVYhs+LKsJ9K2L0VAakwzPD5Y=";
|
2019-07-02 03:52:06 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-K0rZBERSKob5ubZW28QpbcPhgFKOOASkd9UyC9f8gyQ=";
|
2020-08-04 00:26:27 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-07-02 03:52:06 +00:00
|
|
|
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 ];
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|