easyloggingpp: init at 9.95.0
This commit is contained in:
parent
66f8512e4f
commit
f5c129d707
2 changed files with 25 additions and 0 deletions
23
pkgs/development/libraries/easyloggingpp/default.nix
Normal file
23
pkgs/development/libraries/easyloggingpp/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, gtest }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "easyloggingpp-${version}";
|
||||
version = "9.95.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "muflihun";
|
||||
repo = "easyloggingpp";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gzmznw6ffag9x55lixxffy6x7mvb7691x0md4q9rbh88zkws7kq";
|
||||
};
|
||||
nativeBuildInputs = [cmake];
|
||||
buildInputs = [gtest];
|
||||
cmakeFlags = [ "-Dtest=ON" "-Dbuild_static_lib=ON"];
|
||||
NIX_CFLAGS_COMPILE = "-std=c++11" +
|
||||
stdenv.lib.optionalString stdenv.isLinux " -pthread";
|
||||
meta = {
|
||||
description = "C++ logging library";
|
||||
homepage = https://muflihun.github.io/easyloggingpp/;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [acowley];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -8027,6 +8027,8 @@ with pkgs;
|
|||
|
||||
dxflib = callPackage ../development/libraries/dxflib {};
|
||||
|
||||
easyloggingpp = callPackage ../development/libraries/easyloggingpp {};
|
||||
|
||||
eccodes = callPackage ../development/libraries/eccodes { };
|
||||
|
||||
eclib = callPackage ../development/libraries/eclib {};
|
||||
|
|
Loading…
Reference in a new issue