about summary refs log tree commit diff
path: root/third_party/abseil_cpp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/abseil_cpp/default.nix')
-rw-r--r--third_party/abseil_cpp/default.nix16
1 files changed, 13 insertions, 3 deletions
diff --git a/third_party/abseil_cpp/default.nix b/third_party/abseil_cpp/default.nix
index ddc5c1c7b798..ec2e996d6a45 100644
--- a/third_party/abseil_cpp/default.nix
+++ b/third_party/abseil_cpp/default.nix
@@ -1,6 +1,16 @@
-{ pkgs, ... }:
+{ pkgs, lib, ... }:
 
-pkgs.originals.abseil-cpp.overrideAttrs(_: {
+let inherit (pkgs) cmake llvmPackages;
+in llvmPackages.libcxxStdenv.mkDerivation rec {
+  pname = "abseil-cpp";
   version = "20200519-768eb2ca";
   src = ./.;
-})
+  nativeBuildInputs = [ cmake ];
+
+  meta = with lib; {
+    description = "An open-source collection of C++ code designed to augment the C++ standard library";
+    homepage = https://abseil.io/;
+    license = licenses.asl20;
+    maintainers = [ maintainers.andersk ];
+  };
+}