diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-29T20·50+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-29T20·50+0100 |
commit | 6302a89c6daf1e3303fc53206fd15a2e581eb916 (patch) | |
tree | cb2dfd0dd4580c09571f51c2c29ec9302266d867 | |
parent | 25393d80806f7c7caed188130d3f7c9574e61ece (diff) |
feat(3p/glog): Check in derivation for glog r/869
Instead of overriding the upstream one, lets keep it local.
-rw-r--r-- | third_party/glog/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/glog/default.nix b/third_party/glog/default.nix new file mode 100644 index 000000000000..cebb71c290d4 --- /dev/null +++ b/third_party/glog/default.nix @@ -0,0 +1,18 @@ +{ pkgs, lib, ... }: + +let inherit (pkgs) llvmPackages cmake; +in llvmPackages.libcxxStdenv.mkDerivation { + name = "glog"; + version = "20200527-unstable"; + src = ./.; + + nativeBuildInputs = [ cmake ]; + cmakeFlags = [ "-WITH_GFLAGS=OFF" ]; + + meta = with lib; { + homepage = "https://github.com/google/glog"; + license = licenses.bsd3; + description = "Library for application-level logging"; + platforms = platforms.unix; + }; +} |