about summary refs log tree commit diff
path: root/third_party/protobuf
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf')
-rw-r--r--third_party/protobuf/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/protobuf/default.nix b/third_party/protobuf/default.nix
new file mode 100644
index 000000000000..b30ff9de918c
--- /dev/null
+++ b/third_party/protobuf/default.nix
@@ -0,0 +1,12 @@
+# Pin protobuf to version 3.12, with LLVM.
+{ depot, pkgs, ... }:
+
+pkgs.callPackage "${pkgs.path}/pkgs/development/libraries/protobuf/generic-v3.nix" {
+  version = "3.12.2";
+  sha256 = "1lp368aa206vpic9fmax4k6llnmf28plfvkkm4vqhgphmjqykvl2";
+  stdenv = pkgs.fullLlvm11Stdenv;
+  buildPackages = {
+    inherit (pkgs) which;
+    stdenv = pkgs.fullLlvm11Stdenv;
+  };
+}