2024-06-22 12:57:16 +00:00
|
|
|
{
|
|
|
|
fetchCrate,
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
2024-06-22 12:57:55 +00:00
|
|
|
nix-update-script,
|
2023-07-14 17:01:25 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "protoc-gen-prost-serde";
|
2024-06-22 13:04:13 +00:00
|
|
|
version = "0.3.0";
|
2023-07-14 17:01:25 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-06-22 13:04:13 +00:00
|
|
|
hash = "sha256-O2Mpft31ZQncqETWzwD73I1nX1Wt5XVHcTJUk5qhRLY=";
|
2023-07-14 17:01:25 +00:00
|
|
|
};
|
|
|
|
|
2024-06-22 13:04:13 +00:00
|
|
|
cargoHash = "sha256-aUWmNS3jF1I0NLApBn3GMMv6ID9mM/j7r7sPFCsFIuw=";
|
2023-07-14 17:01:25 +00:00
|
|
|
|
2024-06-22 12:57:55 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
2023-07-14 17:01:25 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Protoc plugin that generates serde serialization implementations for `protoc-gen-prost`";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "protoc-gen-prost-serde";
|
2023-07-14 17:01:25 +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-22 12:57:16 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
felschr
|
|
|
|
sitaaax
|
|
|
|
];
|
2023-07-14 17:01:25 +00:00
|
|
|
};
|
|
|
|
}
|