pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,7 +1,7 @@
|
||||
# To use this package with a CMake and pkg-config build:
|
||||
# pkg_check_modules(EASYLOGGINGPP REQUIRED easyloggingpp)
|
||||
# add_executable(main src/main.cpp ${EASYLOGGINGPP_PREFIX}/include/easylogging++.cc)
|
||||
{ stdenv, fetchFromGitHub, cmake, gtest }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, gtest }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "easyloggingpp";
|
||||
version = "9.97.0";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [gtest];
|
||||
cmakeFlags = [ "-Dtest=ON" ];
|
||||
NIX_CFLAGS_COMPILE = "-std=c++11" +
|
||||
stdenv.lib.optionalString stdenv.isLinux " -pthread";
|
||||
lib.optionalString stdenv.isLinux " -pthread";
|
||||
postInstall = ''
|
||||
mkdir -p $out/include
|
||||
cp ../src/easylogging++.cc $out/include
|
||||
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
||||
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;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [acowley];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user