diff options
author | Johannes Klein <johannes@kle1n.com> | 2023-07-14 19:11:01 +0200 |
---|---|---|
committer | Johannes Klein <johannes@kle1n.com> | 2023-07-14 19:11:01 +0200 |
commit | 0851a2db0378d8849ea95ee741996eec0864db03 (patch) | |
tree | 32c7048b94172b4fb5eff1dfcabf5bd2238181fd /pkgs/development/tools/protoc-gen-tonic | |
parent | f0521360dbefb45815a3b6387d297497a634203d (diff) | |
download | nixlib-0851a2db0378d8849ea95ee741996eec0864db03.tar nixlib-0851a2db0378d8849ea95ee741996eec0864db03.tar.gz nixlib-0851a2db0378d8849ea95ee741996eec0864db03.tar.bz2 nixlib-0851a2db0378d8849ea95ee741996eec0864db03.tar.lz nixlib-0851a2db0378d8849ea95ee741996eec0864db03.tar.xz nixlib-0851a2db0378d8849ea95ee741996eec0864db03.tar.zst nixlib-0851a2db0378d8849ea95ee741996eec0864db03.zip |
protoc-gen-tonic: init at 0.3.0
Diffstat (limited to 'pkgs/development/tools/protoc-gen-tonic')
-rw-r--r-- | pkgs/development/tools/protoc-gen-tonic/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/protoc-gen-tonic/default.nix b/pkgs/development/tools/protoc-gen-tonic/default.nix new file mode 100644 index 000000000000..7bc6fa52e54d --- /dev/null +++ b/pkgs/development/tools/protoc-gen-tonic/default.nix @@ -0,0 +1,25 @@ +{ fetchCrate +, lib +, rustPlatform +, protobuf +}: + +rustPlatform.buildRustPackage rec { + pname = "protoc-gen-tonic"; + version = "0.3.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-jgU1XvUxIrZ72dLNPqDGHCONMlHsjW4k4vkO626iqxs="; + }; + + cargoSha256 = "sha256-FrkvL/uJitMkSyOytVSmlwr26yMVM12S2n+EaSw11CE="; + + meta = with lib; { + description = "A protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine"; + homepage = "https://github.com/neoeinstein/protoc-gen-prost"; + changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md"; + license = licenses.asl20; + maintainers = with maintainers; [ felschr sitaaax ]; + }; +} |