diff options
author | Luc Perkins <lucperkins@gmail.com> | 2023-11-28 21:09:23 +0300 |
---|---|---|
committer | Luc Perkins <lucperkins@gmail.com> | 2023-12-18 13:51:27 -0800 |
commit | c597e026873894d69e3661d4a335f7321c8841e7 (patch) | |
tree | bf794c9cc3bea4289fd128d7694d78a058a8185b /pkgs/by-name/pr | |
parent | 29491fcaed7fd0b9949d5a870a0e5c3d99e391ff (diff) | |
download | nixlib-c597e026873894d69e3661d4a335f7321c8841e7.tar nixlib-c597e026873894d69e3661d4a335f7321c8841e7.tar.gz nixlib-c597e026873894d69e3661d4a335f7321c8841e7.tar.bz2 nixlib-c597e026873894d69e3661d4a335f7321c8841e7.tar.lz nixlib-c597e026873894d69e3661d4a335f7321c8841e7.tar.xz nixlib-c597e026873894d69e3661d4a335f7321c8841e7.tar.zst nixlib-c597e026873894d69e3661d4a335f7321c8841e7.zip |
protoc-gen-rust-grpc: init at 0.8.3
Diffstat (limited to 'pkgs/by-name/pr')
-rw-r--r-- | pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix b/pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix new file mode 100644 index 000000000000..3aefd22b8c67 --- /dev/null +++ b/pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix @@ -0,0 +1,22 @@ +{ fetchCrate, lib, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "protoc-gen-rust-grpc"; + version = "0.8.3"; + + src = fetchCrate { + pname = "grpc-compiler"; + inherit version; + hash = "sha256-gt+Qa68N5EkqhCAvU2ISvVPT9vYPXMySad4DCyTVHkQ="; + }; + + cargoHash = "sha256-08xEPc1GaRIYLbIlSRpfBvSQcs16vduJ7v/NDg7Awfs="; + + meta = with lib; { + description = "Protobuf plugin for generating Rust code for gRPC"; + homepage = "https://github.com/stepancheg/grpc-rust"; + license = licenses.mit; + maintainers = with maintainers; [ lucperkins ]; + mainProgram = "protoc-gen-rust-grpc"; + }; +} |