2024-06-24 18:47:55 +00:00
|
|
|
{
|
|
|
|
fetchCrate,
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
nix-update-script,
|
2023-07-15 17:15:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "protoc-gen-prost-serde";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "0.3.0";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-06-24 18:47:55 +00:00
|
|
|
hash = "sha256-O2Mpft31ZQncqETWzwD73I1nX1Wt5XVHcTJUk5qhRLY=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
cargoHash = "sha256-aUWmNS3jF1I0NLApBn3GMMv6ID9mM/j7r7sPFCsFIuw=";
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Protoc plugin that generates serde serialization implementations for `protoc-gen-prost`";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "protoc-gen-prost-serde";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/neoeinstein/protoc-gen-prost";
|
|
|
|
changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md";
|
|
|
|
license = licenses.asl20;
|
2024-06-24 18:47:55 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
felschr
|
|
|
|
sitaaax
|
|
|
|
];
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|