Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
835 B
Nix
50 lines
835 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libtool,
|
|
cmake,
|
|
libxml2,
|
|
cppunit,
|
|
boost,
|
|
apr,
|
|
aprutil,
|
|
db,
|
|
expat,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "log4cxx";
|
|
version = "1.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/logging/log4cxx/${version}/apache-${pname}-${version}.tar.gz";
|
|
hash = "sha256-qiP0fDFkqiz4SMIli0tLw3Lnlk1KPtR8K0pKkVxd+jc=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace CMakeLists.txt --replace "\\\''${prefix}/" ""
|
|
'';
|
|
|
|
buildInputs = [
|
|
libxml2
|
|
cppunit
|
|
boost
|
|
apr
|
|
aprutil
|
|
db
|
|
expat
|
|
];
|
|
nativeBuildInputs = [
|
|
libtool
|
|
cmake
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://logging.apache.org/log4cxx/index.html";
|
|
description = "Logging framework for C++ patterned after Apache log4j";
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|