mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
33 lines
833 B
Nix
33 lines
833 B
Nix
{
|
|
fetchCrate,
|
|
lib,
|
|
rustPlatform,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "protoc-gen-prost-crate";
|
|
version = "0.4.1";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-9rIFDZbI6XGDsNzFMnMYY4loJxojdz6vnQKAz9eDAyQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-uAygKDdm+0SEDFBQcaoYTRMRgnodiO/kL1sGbRmdJKE=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "Protoc plugin that generates Cargo crates and include files for `protoc-gen-prost`";
|
|
mainProgram = "protoc-gen-prost-crate";
|
|
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
|
|
];
|
|
};
|
|
}
|