1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 10:00:46 +02:00
guix/gnu/packages/ccache.scm
Nicolas Graves 01ad0cf43e
gnu: ruby: Populating (gnu packages ruby-check/ruby-xyz).
* gnu/packages/ruby.scm: Move all packages except different versions
of ruby and mruby, to either (gnu packages ruby-check) or
(gnu packages ruby-xyz).

* gnu/packages/ruby-check.scm (bundler, ruby-builder, ruby-cucumber-ci-environment,
ruby-cucumber-compatibility-kit,
ruby-cucumber-compatibility-kit-bootstrap, ruby-cucumber-core,
ruby-cucumber-expressions, ruby-cucumber-gherkin,
ruby-cucumber-html-formatter, ruby-cucumber-messages,
ruby-cucumber-tag-expressions, ruby-cucumber-wire, ruby-diff-lcs,
ruby-docile, ruby-fivemat, ruby-given-core, ruby-hoe, ruby-hoe-3,
ruby-json, ruby-mime-types, ruby-mime-types-data, ruby-mini-portile,
ruby-mini-portile-2, ruby-minitest, ruby-minitest-bonus-assertions,
ruby-minitest-focus, ruby-minitest-hooks, ruby-minitest-moar,
ruby-multi-test, ruby-rake, ruby-rake-compiler,
ruby-rake-compiler-dock, ruby-rspec, ruby-rspec-2, ruby-rspec-core,
ruby-rspec-core-2, ruby-rspec-expectations, ruby-rspec-expectations-2,
ruby-rspec-mocks, ruby-rspec-mocks-2, ruby-rspec-support, ruby-sequel,
ruby-simplecov-json-formatter, ruby-simplecov, ruby-simplecov-html,
ruby-sorcerer, ruby-unindent): Moved from (gnu packages ruby).
 (ruby-asciidoctor/minimal): New variable, to allow more minimal
 import of only (gnu packages ruby-check) in a lot of modules.
 (ruby-rubocop/minimal): New variable to build cucumber with a lot
 less dependencies.
 (cucumber-ruby-core)[native-inputs]: Replace ruby-rubocop by
 ruby-rubocop/minimal. Remove ruby-coveralls.

* gnu/packages/ruby-xyz.scm: Move all other packages from
(gnu packages ruby).

* gnu/packages/admin.scm
* gnu/packages/bioinformatics.scm
* gnu/packages/databases.scm
* gnu/packages/emacs-xyz.scm
* gnu/packages/gnome-xyz.scm
* gnu/packages/gnome.scm
* gnu/packages/groff.scm
* gnu/packages/kde-systemtools.scm
* gnu/packages/libffi.scm
* gnu/packages/mail.scm
* gnu/packages/maths.scm
* gnu/packages/mpd.scm
* gnu/packages/ntp.scm
* gnu/packages/package-management.scm
* gnu/packages/plotutils.scm
* gnu/packages/protobuf.scm
* gnu/packages/rails.scm
* gnu/packages/ruby-check.scm
* gnu/packages/ruby-xyz.scm
* gnu/packages/ruby.scm
* gnu/packages/shellutils.scm
* gnu/packages/statistics.scm
* gnu/packages/tex.scm
* gnu/packages/virtualization.scm:
    Adapt module imports accordingly.

* gnu/packages/backup.scm (btrbk):
* gnu/packages/ccache.scm (ccache):
* gnu/packages/cluster.scm (drbd-utils):
* gnu/packages/compton.scm (picom):
* gnu/packages/cryptsetup.scm (cryptsetup):
* gnu/packages/engineering.scm (kicad-doc):
* gnu/packages/games.scm (warzone2100):
* gnu/packages/irc.scm (open-adventure):
* gnu/packages/ntp.scm (weechat):
* gnu/packages/password-utils.scm (keepassxc):
* gnu/packages/radio.scm (wsjtx, jtdx):
* gnu/packages/syndication.scm (newsboat):
* gnu/packages/task-management.scm (timewarrior):
* gnu/packages/version-control.scm (git-lfs):
    [native-inputs]: Replace ruby-asciidoctor by
    ruby-asciidoctor/minimal. Adapt module imports accordingly.

* gnu/packages/text-editors.scm: Remove (gnu packages ruby) import.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-06-20 20:40:02 +02:00

77 lines
3.2 KiB
Scheme
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016, 2017, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 20182021 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.
;;;
;;; 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 gexp)
#:use-module (guix packages)
#:use-module ((guix licenses) #:select (gpl3+))
#: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 ruby-check))
(define-public ccache
(package
(name "ccache")
(version "4.8.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/ccache/ccache/releases/download/v"
version "/ccache-" version ".tar.xz"))
(sha256
(base32 "049b3xhp464w5m1bqi4ripbgyqy7qy31vvk56v5cyj5j23478wz4"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
;; The backend must be explicitly disabled to build without Redis.
#~(list "-DREDIS_STORAGE_BACKEND=OFF")
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'fix-shell
;; Run early whilst we're still in the source directory.
(lambda _
(substitute* (list "test/run"
"test/suites/base.bash"
"unittest/test_hashutil.cpp")
(("compgen -e") "env | cut -d= -f1")
(("#!/bin/sh") (string-append "#!" (which "sh"))))))
(add-before 'check 'set-home
;; Tests require a writable HOME.
(lambda _
(setenv "HOME" (getenv "TMPDIR")))))))
(native-inputs
(append (list perl which)
(if (supported-package? ruby-asciidoctor/minimal)
(list ruby-asciidoctor/minimal)
'())))
(inputs (list zlib `(,zstd "lib")))
(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+)))