2020-05-27 22:52:44 +02:00
|
|
|
{ pkgs, lib, ... }:
|
2020-05-20 03:34:42 +02:00
|
|
|
|
2021-10-07 21:57:09 +02:00
|
|
|
let inherit (pkgs) cmake fullLlvm11Stdenv;
|
|
|
|
in pkgs.abseil-cpp.override {
|
|
|
|
stdenv = fullLlvm11Stdenv;
|
2021-11-03 20:39:58 +01:00
|
|
|
cxxStandard = "17";
|
2021-10-07 21:57:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* TODO(tazjin): update abseil subtree
|
|
|
|
|
|
|
|
fullLlvm11Stdenv.mkDerivation rec {
|
2020-05-27 22:52:44 +02:00
|
|
|
pname = "abseil-cpp";
|
2020-07-19 01:23:33 +02:00
|
|
|
version = "20200519-768eb2ca+tvl-1";
|
2020-05-20 03:34:42 +02:00
|
|
|
src = ./.;
|
2020-05-27 22:52:44 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-07-19 01:23:33 +02:00
|
|
|
# TODO: run tests
|
|
|
|
# doCheck = true;
|
2020-05-27 22:52:44 +02:00
|
|
|
|
2020-07-05 18:37:36 +02:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_CXX_STANDARD=17"
|
2020-07-19 01:23:33 +02:00
|
|
|
#"-DABSL_RUN_TESTS=1"
|
2020-07-05 18:37:36 +02:00
|
|
|
];
|
|
|
|
|
2020-05-27 22:52:44 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
2021-10-07 21:57:09 +02:00
|
|
|
*/
|