summary refs log tree commit diff
path: root/gnu/packages/ccache.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-11-03 21:39:00 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-11-06 00:08:04 -0400
commit071d4bdc80cbf6b3a5c1232f0d704878431a864f (patch)
tree9e6e1daf270472c0eeb924f00e7eaba0bbbcbdda /gnu/packages/ccache.scm
parent451d2802f6471d1a5f2eea08ae7ce2ad8747f797 (diff)
downloadguix-071d4bdc80cbf6b3a5c1232f0d704878431a864f.tar.gz
gnu: ccache: Update to 4.7.2.
* gnu/packages/ccache.scm (ccache): Update to 4.7.2.  Move inputs fields after
arguments field.
[native-inputs]: Add ruby-asciidoctor to generate man page.
Diffstat (limited to 'gnu/packages/ccache.scm')
-rw-r--r--gnu/packages/ccache.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm
index 0dd1f14f58..a2e5b35046 100644
--- a/gnu/packages/ccache.scm
+++ b/gnu/packages/ccache.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2021, 2022 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,25 +27,23 @@
   #:use-module (guix download)
   #:use-module (guix build-system cmake)
   #:use-module (gnu packages)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages perl)
-  #:use-module (gnu packages compression))
+  #:use-module (gnu packages ruby))
 
 (define-public ccache
   (package
     (name "ccache")
-    (version "4.6.3")
+    (version "4.7.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://github.com/ccache/ccache/releases/download/v"
                            version "/ccache-" version ".tar.xz"))
        (sha256
-        (base32 "08lbzlcb4clc298nsjcqcnhw69p53xk7hni5p19jaqqjn4djafhy"))))
+        (base32 "1bsf27dii1bm6bamvs6gi6vm5pjrd0956vf8597ix76lfyjpbjhp"))))
     (build-system cmake-build-system)
-    (native-inputs (list perl ; for test/run
-                         (@ (gnu packages base) which)))
-    (inputs (list zlib
-                  `(,zstd "lib")))
     (arguments
      (list #:configure-flags
            ;; The backend must be explicitly disabled to build without Redis.
@@ -63,6 +62,8 @@
                  ;; Tests require a writable HOME.
                  (lambda _
                    (setenv "HOME" (getenv "TMPDIR")))))))
+    (native-inputs (list perl ruby-asciidoctor which))
+    (inputs (list zlib `(,zstd "lib")))
     (home-page "https://ccache.dev/")
     (synopsis "Compiler cache")
     (description