aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ccache.scm
blob: c5b9790f27349d507d83f6561a0641c3fd3bb458 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages ccache)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:select (gpl3+))
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages compression))

(define-public ccache
  (package
    (name "ccache")
    (version "3.7.12")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://github.com/ccache/ccache/releases/download/v"
                           version "/ccache-" version ".tar.xz"))
       (sha256
        (base32 "005liq8csgxdn7m9hj2ah07hishww855p8sc96y1hrnwc21lwbx0"))))
    (build-system gnu-build-system)
    (native-inputs `(("perl" ,perl)     ; for test/run
                     ("which" ,(@ (gnu packages base) which))))
    (inputs `(("zlib" ,zlib)))
    (arguments
     '(#:phases (modify-phases %standard-phases
                  (add-before 'check 'setup-tests
                    (lambda _
                      (substitute* '("unittest/test_hashutil.c" "test/suites/base.bash")
                        (("#!/bin/sh") (string-append "#!" (which "sh"))))
                      #t)))))
    (home-page "https://ccache.dev/")
    (synopsis "Compiler cache")
    (description
     "Ccache is a compiler cache.  It speeds up recompilation by caching
previous compilations and detecting when the same compilation is being done
again.  Supported languages are C, C++, Objective-C and Objective-C++.")
    (license gpl3+)))
e. (rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise. * gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise. * gnu/packages/disk.scm (hddtemp)[description]: Likewise. * gnu/packages/django.scm (python-djangorestframework)[description]: Likewise. * gnu/packages/documentation.scm (doc++)[description]: Likewise. * gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless) (emacs-scpaste)[description]: Likewise. * gnu/packages/file-systems.scm (dbxfs)[description]: Likewise. * gnu/packages/finance.scm (python-stdnum)[description]: Likewise. * gnu/packages/fontutils.scm (woff2)[description]: Likewise. * gnu/packages/games.scm (openttd-opengfx)[description]: Likewise. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux) [description]: Likewise. * gnu/packages/gnome.scm (libgrss)[description]: Likewise. * gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk) [description]: Likewise. (go-github-com-go-git-go-billy)[synopsis, description]: Likewise. * gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]: Likewise. * gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise. * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]: Likewise. * gnu/packages/java.scm (java-mail)[synopsis]: Likewise. (java-native-access-platform)[description]: Likewise. * gnu/packages/kde-frameworks.scm (kactivities-stats)[description]: Likewise. * gnu/packages/kde-utils.scm (krusader)[description]: Likewise. * gnu/packages/language.scm (praat)[description]: Likewise. * gnu/packages/linux.scm (light)[description]: Likewise. * gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]: Likewise. * gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]: Likewise. * gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo) (ocaml4.07-ppx-variants-conv)[description]: Likewise. * gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise. * gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise. * gnu/packages/python-web.scm (python-html5lib)[synopsis, description]: Likewise. (python-venusian)[synopsis]: Likewise. * gnu/packages/python-xyz.scm (python-readlike, python-gssapi) (python-flufl-i18n)[description]: Likewise. (python-pox, python-watchdog, python-xattr)[synopsis, description]: Likewise. * gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise. * gnu/packages/rust-apps.scm (watchexec)[description]: Likewise. * gnu/packages/rust.scm (mrustc)[synopsis]: Likewise. * gnu/packages/shells.scm (s-shell)[description]: Likewise. * gnu/packages/ssh.scm (sshpass)[description]: Likewise. * gnu/packages/terminals.scm (beep)[description]: Likewise. * gnu/packages/web.scm (perl-lwp-useragent-cached)[description]: Likewise. * gnu/packages/wv.scm (wv)[description]: Likewise. 2020-09-08gnu: Add ghc-dav.Kyle Meyer * gnu/packages/haskell-web.scm (ghc-dav): New variable. Signed-off-by: Timothy Sample <samplet@ngyro.com> 2020-08-13gnu: ghc-http: Prevent embedding of spurious references.Ricardo Wurmus * gnu/packages/haskell-web.scm (ghc-http)[arguments]: Add build phase "create-simple-paths-module" to avoid retaining unnecessary references. 2020-08-13gnu: ghc-hxt: Add "doc" output.Ricardo Wurmus * gnu/packages/haskell-web.scm (ghc-hxt)[outputs]: Add "doc" output next to "out" and "static". 2020-08-13gnu: ghc-aeson: Add "doc" output.Ricardo Wurmus * gnu/packages/haskell-web.scm (ghc-aeson)[outputs]: Add "doc" output next to "out" and "static". 2020-08-13gnu: ghc-blaze-html: Add "doc" output.Ricardo Wurmus * gnu/packages/haskell-web.scm (ghc-blaze-html)[outputs]: Add "doc" output next to "out" and "static". 2020-08-13gnu: Add "static" output to Haskell packages with custom outputs.Ricardo Wurmus All these packages have non-standard outputs. As a result the build system cannot automatically add the "static" output, so we do this manually. * gnu/packages/haskell-check.scm (ghc-quickcheck, ghc-hunit)[outputs]: Add "static" output. * gnu/packages/haskell-web.scm (ghc-http)[outputs]: Same. * gnu/packages/haskell-xyz.scm (ghc-case-insensitive, ghc-fgl, ghc-hashable, ghc-network, ghc-network-uri, ghc-parallel, ghc-paths, ghc-primitive, ghc-random, ghc-split, ghc-syb, ghc-tf-random, ghc-unordered-containers, ghc-vector, ghc-zlib)[outputs]: Same. 2020-07-16gnu: Use HTTPS for www.yesodweb.com.Tobias Geerinckx-Rice * gnu/packages/haskell-web.scm (ghc-css-text, ghc-yesod-persistent) [home-page]: Use HTTPS. 2020-07-16gnu: Use HTTPS for github.com (and subdomains) home pages.Tobias Geerinckx-Rice * gnu/packages/bioconductor.scm (r-qvalue)[home-page]: Use HTTPS and follow permanent redirection. * gnu/packages/check.scm (python-codecov, python-nosexcover) [home-page]: Likewise. * gnu/packages/cran.scm (r-ffbase, r-ggrepel, r-valr) [home-page]: Likewise. * gnu/packages/crates-io.scm (rust-block-0.1, rust-dispatch-0.1) (rust-objc-0.2, rust-objc-exception-0.1) (rust-objc-foundation-0.1, rust-objc-id-0.1, rust-objc-test-utils-0.0) (rust-onig-5.0, rust-onig-sys-69.2, rust-vergen-3.1) [home-page]: Likewise. * gnu/packages/finance.scm (ledger-agent, keepkey-agent) [home-page]: Likewise. * gnu/packages/haskell-check.scm (ghc-tasty-expected-failure) [home-page]: Likewise. * gnu/packages/haskell-web.scm (ghc-bsb-http-chunked, ghc-warp) (ghc-warp-tls)[home-page]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-configurator, ghc-hasktags) (ghc-linear, ghc-newtype-generics, ghc-retry, ghc-xdg-basedir) (ghc-pretty-show)[home-page]: Likewise. * gnu/packages/java.scm (java-javax-inject)[home-page]: Likewise. * gnu/packages/libffi.scm (ruby-ffi)[home-page]: Likewise. * gnu/packages/linux.scm (procenv)[home-page]: Likewise. * gnu/packages/python-web.scm (python-aiodns, python-flask-htpasswd) (python-pycares)[home-page]: Likewise. * gnu/packages/python-xyz.scm (python-progressbar33, python-whatever) (python-funcy)[home-page]: Likewise. * gnu/packages/ruby.scm (ruby-rubyzip, ruby-spinach, ruby-gherkin-ruby) (ruby-code-statistics, ruby-colorize, ruby-wwtd)[home-page]: Likewise. 2020-07-16gnu: Update Haskell Wiki URIs.Tobias Geerinckx-Rice * gnu/packages/haskell-web.scm (ghc-hxt-regex-xmlschema)[home-page]: Use HTTPS and follow permanent redirection. * gnu/packages/haskell-xyz.scm (ghc-alsa-core, ghc-base-unicode-symbols) (ghc-colour, ghc-data-accessor, ghc-data-accessor-transformers) (ghc-gluraw, ghc-glut, ghc-gnuplot, ghc-haddock-test, ghc-opengl) (ghc-openglraw, ghc-storablevector)[home-page]: Likewise. 2020-06-14gnu: Add ghc-curl.Marius Bakke * gnu/packages/haskell-web.scm (ghc-curl): New public variable. 2020-05-08gnu: Add ghc-aeson-better-errors.John Soo * gnu/packages/haskell-web.scm (ghc-aeson-better-errors): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> 2020-05-08gnu: Add ghc-bower-json.John Soo * gnu/packages/haskell-web.scm (ghc-bower-json): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> 2020-05-08gnu: Add ghc-language-javascript.John Soo * gnu/packages/haskell-web.scm (ghc-language-javascript): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> 2020-05-08gnu: Add ghc-sourcemap.John Soo gnu/pacakges/haskell-web.scm (ghc-sourcemap): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> 2020-05-08gnu: Add ghc-wai-websockets.John Soo * gnu/packages/haskell-web.scm (ghc-wai-websockets): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> 2020-05-08gnu: Add ghc-websockets.John Soo * gnu/packages/haskell-web.scm (ghc-websockets): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> 2020-03-29gnu: ghc-yesod-persistent: Update to 1.6.0.4.Marius Bakke * gnu/packages/haskell-web.scm (ghc-yesod-persistent): Update to 1.6.0.4. 2020-03-29gnu: ghc-scalpel: Fix typo in description.Marius Bakke * gnu/packages/haskell-web.scm (ghc-scalpel)[description]: Add punctuation. 2020-03-29gnu: Add ghc-html-conduit.Alexandru-Sergiu Marton * gnu/packages/haskell-web.scm (ghc-html-conduit): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com> 2020-02-22gnu: Use HTTPS for hackage.haskell.org home pages.Tobias Geerinckx-Rice * gnu/packages/haskell-xyz.scm (ghc-network-byte-order) (ghc-base-compat-batteries, ghc-regex-tdfa-text, ghc-sdl2-image) (ghc-language-glsl, ghc-sop-core, ghc-libffi, ghc-path, ghc-io-streams) (ghc-openssl-streams, ghc-haskell-lexer, ghc-prettyclass, ghc-ifelse) (ghc-sdl2-mixer, ghc-errorcall-eq-instance, ghc-filepath-bytestring) (ghc-refact, ghc-pointedlist, ghc-string-qq, ghc-tls-session-manager) (ghc-magic, ghc-exactprint, ghc-inline-c, ghc-infer-license) (ghc-unagi-chan)[home-page]: Use HTTPS. 2020-02-22gnu: ghc-tagsoup: Update home page.Tobias Geerinckx-Rice * gnu/packages/haskell-web.scm (ghc-tagsoup)[home-page]: Use new (HTTPS) URI 2020-01-30gnu: Add ghc-scalpel.Alexandru-Sergiu Marton * gnu/packages/haskell-web.scm (ghc-scalpel): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> 2020-01-30gnu: Add ghc-scalpel-core.Alexandru-Sergiu Marton * gnu/packages/haskell-web.scm (ghc-scalpel-core): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>