diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-05-04 20:56:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 20:56:04 +0200 |
commit | 503ed31f5d3f6da22b95a706f6483f25e32be9ed (patch) | |
tree | bbef7888c0e17e1cc4a7fb2fc51f18a63bb54c89 /pkgs/development | |
parent | 97d1fb40c1e7da6b3792880b5d7b0534be9e53c5 (diff) | |
parent | f764163d458b14a4b94bdeac1d7eadf991887f94 (diff) |
Merge pull request #170662 from superherointj/package-protoc-gen-entgrpc-init
protoc-gen-entgrpc: init 0.2.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/protoc-gen-entgrpc/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/protoc-gen-entgrpc/default.nix b/pkgs/development/tools/protoc-gen-entgrpc/default.nix new file mode 100644 index 0000000000000..d92b805082a22 --- /dev/null +++ b/pkgs/development/tools/protoc-gen-entgrpc/default.nix @@ -0,0 +1,28 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "protoc-gen-entgrpc"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "ent"; + repo = "contrib"; + rev = "v${version}"; + sha256 = "sha256-cpk8yRDBsupI277NWYFaLCvi3ltQDLgCrcpJ/FUVi9o="; + }; + + vendorSha256 = "sha256-RwwGFBiasxMmtKMLSyAqvkozqoyzzYuslMq+HnzZUhw="; + + subPackages = [ "entproto/cmd/protoc-gen-entgrpc" ]; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "Generator of an implementation of the service interface for ent protobuff"; + downloadPage = "https://github.com/ent/contrib/"; + license = licenses.asl20; + homepage = "https://entgo.io/"; + maintainers = with maintainers; [ superherointj ]; + }; +} + |