diff options
Diffstat (limited to 'third_party/protobuf/default.nix')
-rw-r--r-- | third_party/protobuf/default.nix | 12 |
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; + }; +} |