diff options
Diffstat (limited to 'pkgs/by-name/pr/protoc-gen-prost/package.nix')
-rw-r--r-- | pkgs/by-name/pr/protoc-gen-prost/package.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/pr/protoc-gen-prost/package.nix b/pkgs/by-name/pr/protoc-gen-prost/package.nix new file mode 100644 index 0000000000000..7c92095fbeee7 --- /dev/null +++ b/pkgs/by-name/pr/protoc-gen-prost/package.nix @@ -0,0 +1,32 @@ +{ + fetchCrate, + lib, + rustPlatform, + nix-update-script, +}: + +rustPlatform.buildRustPackage rec { + pname = "protoc-gen-prost"; + version = "0.3.1"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-ma9sdt3/uq06BMELwsNadMkiEfstQhA4DAQEPdizZJM="; + }; + + cargoHash = "sha256-pJDrwX5uDIrycxtmbds8l4wadZE0RdgmNpMwVkUGJDs="; + + passthru.updateScript = nix-update-script { }; + + meta = with lib; { + description = "Protocol Buffers compiler plugin powered by Prost"; + mainProgram = "protoc-gen-prost"; + 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 + ]; + }; +} |