about summary refs log tree commit diff
path: root/third_party/glog/default.nix
blob: 9fe9ce484cebfd63dd9400a24f450748d59e2a70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ pkgs, lib, ... }:

let inherit (pkgs) llvmPackages_11 cmake;
in llvmPackages_11.libcxxStdenv.mkDerivation {
  name = "glog";
  version = "20200527-unstable";
  src = ./.;

  nativeBuildInputs = [ cmake ];
  cmakeFlags = [
    "-DCMAKE_CXX_STANDARD=17"
    "-WITH_GFLAGS=OFF"
  ];

  meta = with lib; {
    homepage = "https://github.com/google/glog";
    license = licenses.bsd3;
    description = "Library for application-level logging";
    platforms = platforms.unix;
  };
}