diff options
Diffstat (limited to 'third_party/glog/default.nix')
-rw-r--r-- | third_party/glog/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/third_party/glog/default.nix b/third_party/glog/default.nix new file mode 100644 index 000000000000..a28bcbaea9e5 --- /dev/null +++ b/third_party/glog/default.nix @@ -0,0 +1,21 @@ +{ 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; + }; +} |