about summary refs log tree commit diff
path: root/pkgs/development/tools/protoc-gen-prost-serde
diff options
context:
space:
mode:
authorJohannes Klein <johannes@kle1n.com>2023-07-14 19:01:25 +0200
committerJohannes Klein <johannes@kle1n.com>2023-07-14 19:08:44 +0200
commitf0521360dbefb45815a3b6387d297497a634203d (patch)
tree3f61c929d21bd7ffb8b2ccf14028c7cac1b42479 /pkgs/development/tools/protoc-gen-prost-serde
parent8104326ce6281b363f7d54b57710a05a97cefd28 (diff)
protoc-gen-prost-serde: init at 0.2.3
Diffstat (limited to 'pkgs/development/tools/protoc-gen-prost-serde')
-rw-r--r--pkgs/development/tools/protoc-gen-prost-serde/default.nix25
1 files changed, 25 insertions, 0 deletions
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 0000000000000..843dc4fc684b3
--- /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 ];
+  };
+}