diff options
| author | David Elsing <david.elsing@posteo.net> | 2026-02-03 21:33:21 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-02-10 23:46:32 +0100 |
| commit | e0dc199cc7dd78f7dd8ee31d69f3d354a543c138 (patch) | |
| tree | b53818cf05526034e78d51264ecf989971b05b58 /gnu/packages | |
| parent | cf0289e6be07640d9a559d10eb3199d2159872ee (diff) | |
gnu: Add glog-next
* gnu/packages/logging.scm (glog-for-rocm): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/logging.scm | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 704815c7425..1f7acb4c098 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 <rekado@elephly.net> -;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2016, 2017, 2018, 2026 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at> ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr> @@ -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") |
