2020-05-29 22:50:49 +02:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let inherit (pkgs) llvmPackages cmake;
|
|
|
|
in llvmPackages.libcxxStdenv.mkDerivation {
|
|
|
|
name = "glog";
|
|
|
|
version = "20200527-unstable";
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-07-05 18:46:01 +02:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_CXX_STANDARD=17"
|
|
|
|
"-WITH_GFLAGS=OFF"
|
|
|
|
];
|
2020-05-29 22:50:49 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/google/glog";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
description = "Library for application-level logging";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|