nixpkgs/pkgs/by-name/pr/protoc-gen-prost-serde/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
838 B
Nix
Raw Normal View History

{
fetchCrate,
lib,
rustPlatform,
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
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`";
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;
maintainers = with maintainers; [
felschr
sitaaax
];
2023-07-14 17:01:25 +00:00
};
}