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