2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-07-02 04:52:06 +01:00
|
|
|
|
2021-09-29 13:32:33 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "protoc-gen-doc-unstable";
|
2021-09-29 13:32:33 +01:00
|
|
|
version = "1.5.0";
|
2019-07-02 04:52:06 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pseudomuto";
|
|
|
|
repo = "protoc-gen-doc";
|
2021-09-29 13:32:33 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1bpb5wv76p0sjffh5d1frbygp3q1p07sdh5c8pznl5bdh5pd7zxq";
|
2019-07-02 04:52:06 +01:00
|
|
|
};
|
|
|
|
|
2021-09-29 13:32:33 +01:00
|
|
|
vendorSha256 = "08pk9nxsl28dw3qmrlb7vsm8xbdzmx98qwkxgg93ykrhzx235k1b";
|
2019-07-02 04:52:06 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-07-02 04:52:06 +01: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 04:58:04 +01:00
|
|
|
}
|