about summary refs log tree commit diff
path: root/third_party/gtest/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gtest/default.nix')
-rw-r--r--third_party/gtest/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/gtest/default.nix b/third_party/gtest/default.nix
new file mode 100644
index 000000000000..6c2215fb7ad0
--- /dev/null
+++ b/third_party/gtest/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }:
+
+(pkgs.originals.gtest.override {
+  stdenv = pkgs.llvmPackages.libcxxStdenv;
+}).overrideAttrs(_: {
+  src = pkgs.fetchFromGitHub {
+    owner = "google";
+    repo = "googletest";
+    rev = "a781fe29bcf73003559a3583167fe3d647518464";
+    sha256 = "0zny8kgbkslazzsnskygj3pkcj7l13xhgcwjyxswxymxq8m41kgy";
+  };
+})