biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / protoc-gen-entgrpc / default.nix
blob53d7d4338776460b83af033fdfecb7f6135f89ae
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "protoc-gen-entgrpc";
5   version = "0.4.5";
7   src = fetchFromGitHub {
8     owner = "ent";
9     repo = "contrib";
10     rev = "v${version}";
11     sha256 = "sha256-bEJjVNWd4NsUdWPqMZQ86U9F32q5M1iBRcS9MYDp9GE=";
12   };
14   vendorHash = "sha256-DgqCGXqEnLBxyLZJrTRZIeBIrHYA7TNMV4WTk/3IS8Y=";
16   subPackages = [ "entproto/cmd/protoc-gen-entgrpc" ];
18   ldflags = [ "-s" "-w" ];
20   meta = with lib; {
21     description = "Generator of an implementation of the service interface for ent protobuff";
22     mainProgram = "protoc-gen-entgrpc";
23     downloadPage = "https://github.com/ent/contrib/";
24     license = licenses.asl20;
25     homepage = "https://entgo.io/";
26     maintainers = with maintainers; [ ];
27   };