feat(3p/glog): Check in derivation for glog
Instead of overriding the upstream one, lets keep it local.
This commit is contained in:
parent
25393d8080
commit
6302a89c6d
1 changed files with 18 additions and 0 deletions
18
third_party/glog/default.nix
vendored
Normal file
18
third_party/glog/default.nix
vendored
Normal file
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue