depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-prost-crate/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

25 lines
714 B
Nix

{ fetchCrate
, lib
, rustPlatform
, protobuf
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-prost-crate";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-MtGeU2PnVYPXb3nly2UaryjmjMz1lxcvYDjFiwf58FA=";
};
cargoSha256 = "sha256-dcKJRX/iHIWEmBD2nTMyQozxld8b7dhxxB85quPUysg=";
meta = with lib; {
description = "A protoc plugin that generates Cargo crates and include files for `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 ];
};
}