From fff76a5bd1a6290d432de2a8303246e2e3a609b5 Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Fri, 14 Jul 2023 17:53:12 +0200 Subject: [PATCH 1/5] maintainers: add sitaaax --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cde67cdaabac..41d9023e8e82 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12824,6 +12824,12 @@ githubId = 74881555; name = "Fofanov Sergey"; }; + sitaaax = { + email = "johannes@kle1n.com"; + github = "SitAAAx"; + githubId = 74413170; + name = "Johannes Klein"; + }; sivteck = { email = "sivaram1992@gmail.com"; github = "sivteck"; From 3a83909e4cac94c1f7c06e3c589faa96c69d117e Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Fri, 14 Jul 2023 18:06:49 +0200 Subject: [PATCH 2/5] protoc-gen-prost: init at 0.2.3 --- .../tools/protoc-gen-prost/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/tools/protoc-gen-prost/default.nix diff --git a/pkgs/development/tools/protoc-gen-prost/default.nix b/pkgs/development/tools/protoc-gen-prost/default.nix new file mode 100644 index 000000000000..645ecdee3081 --- /dev/null +++ b/pkgs/development/tools/protoc-gen-prost/default.nix @@ -0,0 +1,25 @@ +{ fetchCrate +, lib +, rustPlatform +, protobuf +}: + +rustPlatform.buildRustPackage rec { + pname = "protoc-gen-prost"; + version = "0.2.3"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-QTt5mSUe41r2fxrgWj1l6fHC/utMVIgMi2ySsdGyl/Y="; + }; + + cargoSha256 = "sha256-ghXcyxG9zqUOFKGvUza29OgC3XiEtesqsAsfI/lFT08="; + + meta = with lib; { + description = "Protocol Buffers compiler plugin powered by Prost"; + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 86313b938dfa..46344144e585 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -548,6 +548,8 @@ with pkgs; protoc-gen-connect-go = callPackage ../development/tools/protoc-gen-connect-go { }; + protoc-gen-prost = callPackage ../development/tools/protoc-gen-prost { }; + protoc-gen-rust = callPackage ../development/tools/protoc-gen-rust { }; protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { }; From 8104326ce6281b363f7d54b57710a05a97cefd28 Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Fri, 14 Jul 2023 18:56:08 +0200 Subject: [PATCH 3/5] protoc-gen-prost-crate: init at 0.3.1 --- .../tools/protoc-gen-prost-crate/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/tools/protoc-gen-prost-crate/default.nix diff --git a/pkgs/development/tools/protoc-gen-prost-crate/default.nix b/pkgs/development/tools/protoc-gen-prost-crate/default.nix new file mode 100644 index 000000000000..8503e9266944 --- /dev/null +++ b/pkgs/development/tools/protoc-gen-prost-crate/default.nix @@ -0,0 +1,25 @@ +{ fetchCrate +, lib +, rustPlatform +, protobuf +}: + +rustPlatform.buildRustPackage rec { + pname = "protoc-gen-prost-crate"; + version = "0.3.1"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-MtGeU2PnVYPXb3nly2UaryjmjMz1lxcvYDjFiwf58FA="; + }; + + cargoSha256 = "sha256-dcKJRX/iHIWEmBD2nTMyQozxld8b7dhxxB85quPUysg="; + + meta = with lib; { + description = "A protoc plugin that generates Cargo crates and include files for `protoc-gen-prost`"; + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 46344144e585..dafad66ea641 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -550,6 +550,8 @@ with pkgs; protoc-gen-prost = callPackage ../development/tools/protoc-gen-prost { }; + protoc-gen-prost-crate = callPackage ../development/tools/protoc-gen-prost-crate { }; + protoc-gen-rust = callPackage ../development/tools/protoc-gen-rust { }; protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { }; From f0521360dbefb45815a3b6387d297497a634203d Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Fri, 14 Jul 2023 19:01:25 +0200 Subject: [PATCH 4/5] protoc-gen-prost-serde: init at 0.2.3 --- .../tools/protoc-gen-prost-serde/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/tools/protoc-gen-prost-serde/default.nix diff --git a/pkgs/development/tools/protoc-gen-prost-serde/default.nix b/pkgs/development/tools/protoc-gen-prost-serde/default.nix new file mode 100644 index 000000000000..843dc4fc684b --- /dev/null +++ b/pkgs/development/tools/protoc-gen-prost-serde/default.nix @@ -0,0 +1,25 @@ +{ fetchCrate +, lib +, rustPlatform +, protobuf +}: + +rustPlatform.buildRustPackage rec { + pname = "protoc-gen-prost-serde"; + version = "0.2.3"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-V2Z6m9y/bBwrr1mgKXKZjVg+LqTe+GalN/AeaICyE64="; + }; + + cargoSha256 = "sha256-l27+Rs4TYIJXZVLj7Tjw8M5+7ivWEY0TXbLtbuzwxLw="; + + meta = with lib; { + description = "A protoc plugin that generates serde serialization implementations for `protoc-gen-prost`"; + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dafad66ea641..40077a5a1f77 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -552,6 +552,8 @@ with pkgs; protoc-gen-prost-crate = callPackage ../development/tools/protoc-gen-prost-crate { }; + protoc-gen-prost-serde = callPackage ../development/tools/protoc-gen-prost-serde { }; + protoc-gen-rust = callPackage ../development/tools/protoc-gen-rust { }; protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { }; From 0851a2db0378d8849ea95ee741996eec0864db03 Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Fri, 14 Jul 2023 19:11:01 +0200 Subject: [PATCH 5/5] protoc-gen-tonic: init at 0.3.0 --- .../tools/protoc-gen-tonic/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/tools/protoc-gen-tonic/default.nix diff --git a/pkgs/development/tools/protoc-gen-tonic/default.nix b/pkgs/development/tools/protoc-gen-tonic/default.nix new file mode 100644 index 000000000000..7bc6fa52e54d --- /dev/null +++ b/pkgs/development/tools/protoc-gen-tonic/default.nix @@ -0,0 +1,25 @@ +{ fetchCrate +, lib +, rustPlatform +, protobuf +}: + +rustPlatform.buildRustPackage rec { + pname = "protoc-gen-tonic"; + version = "0.3.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-jgU1XvUxIrZ72dLNPqDGHCONMlHsjW4k4vkO626iqxs="; + }; + + cargoSha256 = "sha256-FrkvL/uJitMkSyOytVSmlwr26yMVM12S2n+EaSw11CE="; + + meta = with lib; { + description = "A protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine"; + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 40077a5a1f77..d4dd7e6da14e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -556,6 +556,8 @@ with pkgs; protoc-gen-rust = callPackage ../development/tools/protoc-gen-rust { }; + 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 { };