gnu: ccache: Update to 3.4.

* gnu/packages/ccache.scm: Update to 3.4.
This commit is contained in:
Sergei Trofimovich 2021-08-22 08:39:44 +01:00 committed by Brice Waegeneire
parent d1d9206180
commit f3b9db9ca1
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -31,21 +31,26 @@ (define-module (gnu packages ccache)
(define-public ccache
(package
(name "ccache")
(version "4.3")
(version "4.4")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/ccache/ccache/releases/download/v"
version "/ccache-" version ".tar.xz"))
(sha256
(base32 "1d4995lkmqshzfxlmbyn101m1rxs02yb8dgh4rl30p26hhhhyjjh"))))
(base32 "0qbmcs6c3m071vsd1ppa31r8s0dzpaw5y38z8ga1bz48rwpfl2xl"))))
(build-system cmake-build-system)
(native-inputs `(("perl" ,perl) ; for test/run
("which" ,(@ (gnu packages base) which))))
(inputs `(("zlib" ,zlib)
("zstd" ,zstd "lib")))
(arguments
'(#:phases
'(;; Disable redis backend explicitly. Build system insists on present dependency
;; or on explicit flag.
#:configure-flags
'("-DREDIS_STORAGE_BACKEND=OFF")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'setup-tests
(lambda _
@ -56,7 +61,7 @@ (define-public ccache
;; Tests require a writable HOME.
(lambda _
(setenv "HOME" (getenv "TMPDIR"))
#t)))))
#t)))))
(home-page "https://ccache.dev/")
(synopsis "Compiler cache")
(description