From e0dc199cc7dd78f7dd8ee31d69f3d354a543c138 Mon Sep 17 00:00:00 2001 From: David Elsing Date: Tue, 3 Feb 2026 21:33:21 +0100 Subject: [PATCH] gnu: Add glog-next MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/logging.scm (glog-for-rocm): New variable. Co-authored-by: Ludovic Courtès Signed-off-by: Ludovic Courtès --- gnu/packages/logging.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) 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")