1 { lib, stdenv, fetchurl, libtool, cmake, libxml2, cppunit, boost
2 , apr, aprutil, db, expat
5 stdenv.mkDerivation rec {
10 url = "mirror://apache/logging/log4cxx/${version}/apache-${pname}-${version}.tar.gz";
11 hash = "sha256-CfR0iqVnXvXAdwvtv14ASIZokzxak1pDrFuFviQ2xIo=";
15 substituteInPlace CMakeLists.txt --replace "\\\''${prefix}/" ""
18 buildInputs = [ libxml2 cppunit boost apr aprutil db expat ];
19 nativeBuildInputs = [ libtool cmake ];
22 homepage = "https://logging.apache.org/log4cxx/index.html";
23 description = "Logging framework for C++ patterned after Apache log4j";
24 license = lib.licenses.asl20;
25 platforms = lib.platforms.unix;