Merge pull request #321761 from felschr/protoc-gen-prost

protoc-gen-tonic: 0.3.0 -> 0.4.0, protoc-gen-prost: 0.2.3 -> 0.3.1, protoc-gen-prost-serde: 0.2.3 -> 0.3.0, protoc-gen-prost-crate: 0.3.1 -> 0.4.0
This commit is contained in:
Pol Dellaiera 2024-06-24 16:34:22 +02:00 committed by GitHub
commit b20ba10e4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 56 additions and 40 deletions

View File

@ -1,19 +1,22 @@
{ fetchCrate
, lib
, rustPlatform
, protobuf
{
fetchCrate,
lib,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-prost-crate";
version = "0.3.1";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-MtGeU2PnVYPXb3nly2UaryjmjMz1lxcvYDjFiwf58FA=";
hash = "sha256-+TSZ2QstAF8DXsHunV/nQyqF++0bFud1ZWJQEI3JEwc=";
};
cargoSha256 = "sha256-dcKJRX/iHIWEmBD2nTMyQozxld8b7dhxxB85quPUysg=";
cargoHash = "sha256-KbErgnXG11ngzLVSktuyUAupYs1ZD64z3plKVtzLx1A=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Protoc plugin that generates Cargo crates and include files for `protoc-gen-prost`";
@ -21,6 +24,9 @@ rustPlatform.buildRustPackage rec {
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 ];
maintainers = with maintainers; [
felschr
sitaaax
];
};
}

View File

@ -1,19 +1,22 @@
{ fetchCrate
, lib
, rustPlatform
, protobuf
{
fetchCrate,
lib,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-prost-serde";
version = "0.2.3";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-V2Z6m9y/bBwrr1mgKXKZjVg+LqTe+GalN/AeaICyE64=";
hash = "sha256-O2Mpft31ZQncqETWzwD73I1nX1Wt5XVHcTJUk5qhRLY=";
};
cargoSha256 = "sha256-l27+Rs4TYIJXZVLj7Tjw8M5+7ivWEY0TXbLtbuzwxLw=";
cargoHash = "sha256-aUWmNS3jF1I0NLApBn3GMMv6ID9mM/j7r7sPFCsFIuw=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Protoc plugin that generates serde serialization implementations for `protoc-gen-prost`";
@ -21,6 +24,9 @@ rustPlatform.buildRustPackage rec {
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 ];
maintainers = with maintainers; [
felschr
sitaaax
];
};
}

View File

@ -1,19 +1,22 @@
{ fetchCrate
, lib
, rustPlatform
, protobuf
{
fetchCrate,
lib,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-prost";
version = "0.2.3";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-QTt5mSUe41r2fxrgWj1l6fHC/utMVIgMi2ySsdGyl/Y=";
hash = "sha256-ma9sdt3/uq06BMELwsNadMkiEfstQhA4DAQEPdizZJM=";
};
cargoSha256 = "sha256-ghXcyxG9zqUOFKGvUza29OgC3XiEtesqsAsfI/lFT08=";
cargoHash = "sha256-pJDrwX5uDIrycxtmbds8l4wadZE0RdgmNpMwVkUGJDs=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Protocol Buffers compiler plugin powered by Prost";
@ -21,6 +24,9 @@ rustPlatform.buildRustPackage rec {
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 ];
maintainers = with maintainers; [
felschr
sitaaax
];
};
}

View File

@ -1,19 +1,22 @@
{ fetchCrate
, lib
, rustPlatform
, protobuf
{
fetchCrate,
lib,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "protoc-gen-tonic";
version = "0.3.0";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-jgU1XvUxIrZ72dLNPqDGHCONMlHsjW4k4vkO626iqxs=";
hash = "sha256-3qz1ea9lEsZjhWNA0lcwqsPkNmjj2ZBljqNRr5/2lKM=";
};
cargoSha256 = "sha256-FrkvL/uJitMkSyOytVSmlwr26yMVM12S2n+EaSw11CE=";
cargoHash = "sha256-nUsRoDaP+omZdOTnaxvHbJT1uNGtyfgXyEFZbp/CeYA=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine";
@ -21,6 +24,9 @@ rustPlatform.buildRustPackage rec {
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 ];
maintainers = with maintainers; [
felschr
sitaaax
];
};
}

View File

@ -740,14 +740,6 @@ with pkgs;
protoc-gen-connect-go = callPackage ../development/tools/protoc-gen-connect-go { };
protoc-gen-prost = callPackage ../development/tools/protoc-gen-prost { };
protoc-gen-prost-crate = callPackage ../development/tools/protoc-gen-prost-crate { };
protoc-gen-prost-serde = callPackage ../development/tools/protoc-gen-prost-serde { };
protoc-gen-tonic = callPackage ../development/tools/protoc-gen-tonic { };
protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { };
protoc-gen-twirp_php = callPackage ../development/tools/protoc-gen-twirp_php { };