2020-05-27 22:52:44 +02:00
|
|
|
{ pkgs, lib, ... }:
|
2020-05-20 03:34:42 +02:00
|
|
|
|
2020-05-27 22:52:44 +02:00
|
|
|
let inherit (pkgs) cmake llvmPackages;
|
|
|
|
in llvmPackages.libcxxStdenv.mkDerivation rec {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|