tvl-depot/third_party/glog/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
474 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
let inherit (pkgs) llvmPackages cmake;
in llvmPackages.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;
};
}