diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 704815c742..1f7acb4c09 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016, 2022 Ricardo Wurmus -;;; Copyright © 2016, 2017, 2018 Ludovic Courtès +;;; Copyright © 2016, 2017, 2018, 2026 Ludovic Courtès ;;; Copyright © 2017 Stefan Reichör ;;; Copyright © 2017 Eric Bavier ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice @@ -175,6 +175,32 @@ particular severity level. It allows logging to be controlled from the command line.") (license license:bsd-3))) +(define-public glog-next + (package + (inherit glog) + (version "0.7.1") + (home-page "https://github.com/google/glog") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "1zh482ga8mndsw277h9wrq4i5xffji0li3v0xha1i6j1llzicz7s")) + (file-name (git-file-name "glog" version)))) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-temporary-directory + (lambda _ + ;; By default tests produce junk straight under + ;; /tmp/guix-build-glog*, which confuses the + ;; 'install-license-files' phase. Set 'TMPDIR' so that + ;; junk is out of the way. + (setenv "TMPDIR" + (string-append (getcwd) "/test-tmp")) + (mkdir (getenv "TMPDIR"))))))))) + (define-public plog (package (name "plog")