summary refs log tree commit diff
path: root/pkgs/development/tools/protoc-gen-twirp
diff options
context:
space:
mode:
authorJohannes Schleifenbaum <johannes@js-webcoding.de>2021-03-29 16:27:17 +0200
committerJohannes Schleifenbaum <johannes@js-webcoding.de>2021-03-30 11:12:03 +0200
commit180781246fe15de3eb66174041f93e234d1aec2e (patch)
tree2e81724e0a897c557443e5d114c22a4e5ba741f9 /pkgs/development/tools/protoc-gen-twirp
parent42ed94c543db83113215398477347e93fbe737e3 (diff)
downloadnixpkgs-180781246fe15de3eb66174041f93e234d1aec2e.tar
nixpkgs-180781246fe15de3eb66174041f93e234d1aec2e.tar.gz
nixpkgs-180781246fe15de3eb66174041f93e234d1aec2e.tar.bz2
nixpkgs-180781246fe15de3eb66174041f93e234d1aec2e.tar.lz
nixpkgs-180781246fe15de3eb66174041f93e234d1aec2e.tar.xz
nixpkgs-180781246fe15de3eb66174041f93e234d1aec2e.tar.zst
nixpkgs-180781246fe15de3eb66174041f93e234d1aec2e.zip
protoc-gen-twirp: init at 7.1.1
Diffstat (limited to 'pkgs/development/tools/protoc-gen-twirp')
-rw-r--r--pkgs/development/tools/protoc-gen-twirp/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/tools/protoc-gen-twirp/default.nix b/pkgs/development/tools/protoc-gen-twirp/default.nix
new file mode 100644
index 00000000000..ae92a105503
--- /dev/null
+++ b/pkgs/development/tools/protoc-gen-twirp/default.nix
@@ -0,0 +1,27 @@
+{ lib, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  pname = "protoc-gen-twirp";
+  version = "7.1.1";
+
+  src = fetchFromGitHub {
+    owner = "twitchtv";
+    repo = "twirp";
+    rev = "v${version}";
+    sha256 = "sha256-GN7akAp0zzS8wVhgXlT1ceFUFKH4Sz74XQ8ofIE8T/k=";
+  };
+
+  goPackagePath = "github.com/twitchtv/twirp";
+
+  subPackages = [
+    "protoc-gen-twirp"
+    "protoc-gen-twirp_python"
+  ];
+
+  meta = with lib; {
+    description = "A simple RPC framework with protobuf service definitions";
+    homepage = "https://github.com/twitchtv/twirp";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ jojosch ];
+  };
+}