Unverified Commit 7afe071d authored by Anthony Cowley's avatar Anthony Cowley Committed by GitHub
Browse files

easyloggingpp: drop (#443646)

parents 9d7d3a14 c36784ca
Loading
Loading
Loading
Loading
+0 −36
Original line number Diff line number Diff line
# 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)
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
  gtest,
}:
stdenv.mkDerivation rec {
  pname = "easyloggingpp";
  version = "9.97.1";
  src = fetchFromGitHub {
    owner = "amrayn";
    repo = "easyloggingpp";
    rev = "v${version}";
    sha256 = "sha256-R4NdwsUywgJoK5E/OdZXFds6iBKOsMa0E+2PDdQbV6E=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ gtest ];
  cmakeFlags = [ "-Dtest=ON" ];
  env.NIX_CFLAGS_COMPILE = "-std=c++14" + lib.optionalString stdenv.hostPlatform.isLinux " -pthread";
  postInstall = ''
    mkdir -p $out/include
    cp ../src/easylogging++.cc $out/include
  '';
  meta = {
    description = "C++ logging library";
    homepage = "https://github.com/amrayn/easyloggingpp";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ acowley ];
    platforms = lib.platforms.all;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -786,6 +786,7 @@ mapAliases {

  EBTKS = ebtks; # Added 2024-01-21
  eask = eask-cli; # Added 2024-09-05
  easyloggingpp = throw "easyloggingpp has been removed, as it is deprecated upstream and does not build with CMake 4"; # Added 2025-09-17
  eboard = throw "'eboard' has been removed due to lack of maintenance upstream. Consider using 'kdePackages.knights' instead"; # Added 2024-10-19
  ec2_ami_tools = throw "'ec2_ami_tools' has been renamed to/replaced by 'ec2-ami-tools'"; # Converted to throw 2024-10-17
  ec2_api_tools = throw "'ec2_api_tools' has been renamed to/replaced by 'ec2-api-tools'"; # Converted to throw 2024-10-17