gnu: node: Make sure 'npm' remains a symlink after 'patch-shebangs'.
[jackhill/guix/guix.git] / gnu / packages / logging.scm
CommitLineData
ce9cf64b
RW
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages logging)
20 #:use-module ((guix licenses) #:prefix license:)
21 #:use-module (guix packages)
22 #:use-module (guix utils)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages))
26
27(define-public log4cpp
28 (package
29 (name "log4cpp")
30 (version "1.1.1")
31 (source (origin
32 (method url-fetch)
33 (uri (string-append "mirror://sourceforge/log4cpp/log4cpp-"
34 (version-major+minor version) ".x%20%28new%29"
35 "/log4cpp-" (version-major+minor version)
36 "/log4cpp-" version ".tar.gz"))
37 (sha256
38 (base32
39 "1l5yz5rfzzv6g3ynrj14mxfsk08cp5h1ssr7d74hjs0accrg7arm"))))
40 (build-system gnu-build-system)
41 (synopsis "Log library for C++")
42 (description
43 "Log4cpp is library of C++ classes for flexible logging to files, syslog,
44IDSA and other destinations. It is modeled after the Log4j Java library,
45staying as close to their API as is reasonable.")
46 (home-page "http://log4cpp.sourceforge.net/")
47 (license license:lgpl2.1+)))