about summary refs log tree commit diff
path: root/third_party/protobuf
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-06-07T13·56+0100
committerVincent Ambo <tazjin@google.com>2020-06-07T13·56+0100
commit4fb8788c01f2e9975d2ff1c3ac389ee8fe844a2f (patch)
tree2e9c389a9e3234628163a7b440c05d51bc0577ee /third_party/protobuf
parent94846503c59b4155cc98280ef1c5cbcf69696ff9 (diff)
feat(3p/protobuf): Check in derivation for proto 3.12 with libcxx r/883
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..84ac44c26bee
--- /dev/null
+++ b/third_party/protobuf/default.nix
@@ -0,0 +1,12 @@
+# Pin protobuf to version 3.12, with LLVM.
+{ pkgs, ... }:
+
+pkgs.callPackage "${pkgs.nixpkgsSrc}/pkgs/development/libraries/protobuf/generic-v3.nix" {
+  version = "3.12.2";
+  sha256 = "1lp368aa206vpic9fmax4k6llnmf28plfvkkm4vqhgphmjqykvl2";
+  stdenv = pkgs.llvmPackages.libcxxStdenv;
+  buildPackages = {
+    inherit (pkgs) which;
+    stdenv = pkgs.llvmPackages.libcxxStdenv;
+  };
+}