about summary refs log blame commit diff
path: root/third_party/glog/default.nix
blob: a28bcbaea9e5eab7b5696e0c1ec17043a3562bc9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                   
                                          



                                


                             






                                                          
{ pkgs, lib, ... }:

let inherit (pkgs) fullLlvm11Stdenv cmake;
in fullLlvm11Stdenv.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;
  };
}