diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-06-20 23:38:56 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-06-20 23:38:56 +0200 |
commit | 6cb1ef9ea28ee14b3bb5442e8af1f54c27802f09 (patch) | |
tree | c2c35f733d250f86eb052d174fcb1c24a54fea79 /gnu/packages/logging.scm | |
parent | 20e4ee1e3b7044d9f64de02c6237b00e5a57da35 (diff) | |
parent | 010689e7067df1288af29176f4a8639de816b1ef (diff) | |
download | guix-6cb1ef9ea28ee14b3bb5442e8af1f54c27802f09.tar guix-6cb1ef9ea28ee14b3bb5442e8af1f54c27802f09.tar.gz |
Merge branch 'staging' into core-updates
Diffstat (limited to 'gnu/packages/logging.scm')
-rw-r--r-- | gnu/packages/logging.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index f1f3a4e8d3..24a47567d0 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -4,6 +4,8 @@ ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at> ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com> +;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,6 +28,7 @@ #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) @@ -181,3 +184,30 @@ commands, displaying the results via a web interface.") "MultiTail allows you to monitor logfiles and command output in multiple windows in a terminal, colorize, filter and merge.") (license license:gpl2+))) + +(define-public spdlog + (package + (name "spdlog") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gabime/spdlog.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "1rd4zmrlkcdjx0m0wpmjm1g9srj7jak6ai08qkhbn2lsn0niifzd")))) + (build-system cmake-build-system) + ;; TODO run benchmark. Currently not possible, as adding + ;; (gnu packages benchmark) forms a dependency cycle + (arguments + '(#:configure-flags + (list "-DSPDLOG_BUILD_BENCH=OFF"))) + (home-page "https://github.com/gabime/spdlog") + (synopsis "Fast C++ logging library") + (description "Spdlog is a very fast header-only/compiled C++ logging +library.") + ;; spdlog is under Expat license, but the bundled fmt library in + ;; "include/spdlog/fmt/bundled" is under BSD 2 clause license. + (license (list license:expat license:bsd-2)))) |