nixpkgs/pkgs/development/libraries/log4cxx/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

28 lines
771 B
Nix

{ lib, stdenv, fetchurl, libtool, cmake, libxml2, cppunit, boost
, apr, aprutil, db, expat
}:
stdenv.mkDerivation rec {
pname = "log4cxx";
version = "1.2.0";
src = fetchurl {
url = "mirror://apache/logging/log4cxx/${version}/apache-${pname}-${version}.tar.gz";
hash = "sha256-CfR0iqVnXvXAdwvtv14ASIZokzxak1pDrFuFviQ2xIo=";
};
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;
};
}