aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; 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/>.

;;; Commentary:
;;;
;;; This file defines a manifest with a selection of packages for Cuirass to
;;; build for GNU/Hurd.
;;;
;;; Code:

(use-modules (gnu)
             (gnu system hurd)
             (guix packages)
             (guix utils)
             (ice-9 match)
             (srfi srfi-1))

(use-package-modules
 autotools base bootloaders commencement compression file gawk gdb gettext gtk
 guile guile-xyz hurd less m4 package-management python ssh
 texinfo tls version-control)

(define (input->package input)
  "Return the INPUT as package, or #f."
  (match input
    ((label (and (? package?) package))
     package)
    ((label (and (? package?) package . output))
     (cons package output))
    (_ #f)))

(define guix-dependencies
  (filter-map input->package
              (fold alist-delete (package-direct-inputs guix)
                    '("glibc-utf8-locales" "graphviz" "po4a"))))

(define (package-without-tests p)
  (package/inherit p
    (arguments
     (substitute-keyword-arguments (package-arguments p)
       ((#:tests? _ #f) #f)))))

(packages->manifest
 (cons*
  ;; where it all starts
  hello

  ;; development utililities
  diffutils file findutils gawk grep gzip less m4 openssh-sans-x tar xz

  ;; development packages
  autoconf automake libtool texinfo
  gcc-toolchain gdb-minimal git-minimal gnu-make
  gettext-minimal python-minimal
  guile-3.0 guile-2.2 guile-2.0
  guile-readline guile-colorized
  guile-gnutls guile-fibers guile-json-4

  ;; ourselves!
  (package-without-tests guix)

  ;; system
  grub-minimal grub

  ;; system reconfigure
  gdk-pixbuf

  (append
   guix-dependencies
   %base-packages/hurd)))
id=e73154daf667effef9b7928b95fa180bf90dd680'>news: Add 'de' translation....Florian Pelz 2024-07-04Add Nicolas Goaziou to team tex....Nicolas Goaziou 2024-07-04Add Laurent Gatto to team r....Laurent Gatto 2024-06-29news: Add entry for stumpwm:lib removal....Guillaume Le Vaillant 2024-06-26etc: Add explicit ‘--substitute-urls’ in guix-daemon service files....Ludovic Courtès 2024-06-17news: Fix commit hash....Nicolas Goaziou 2024-06-17news: Add entry for removing linux-libre 6.8 ("end of life")....Wilko Meyer 2024-06-16Remove Ricardo from all teams but R and Sugar....Ricardo Wurmus 2024-06-16teams: Remove Tobias Geerinckx-Rice from the kernel team due to inactivity....Leo Famulari 2024-06-13maint: Do not cross-compile to bare-metal targets....Ludovic Courtès 2024-06-04teams: Add Simon to r team....Simon Tournier 2024-06-04guix-install.sh: Add unique requirement for sysv init system...Richard Sent 2024-06-02guix-install.sh: Relax check for OpenRC....Tomas Volf 2024-06-02guix-install.sh: Add ~/.guix-profile/share/info to INFOPATH....Trevor Arjeski 2024-05-25maint: Suggest ‘guix git authenticate’ for initial authentication....Ludovic Courtès 2024-05-15teams: Add Maxim to documentation team....Maxim Cournoyer 2024-05-11teams: Add Matt to the documentation team....Matthew Trzcinski 2024-05-02teams: Add myself to the documentation team....Florian Pelz 2024-05-01teams: Add myself to the documentation team....Ludovic Courtès 2024-05-01teams: Add documentation team....Ludovic Courtès 2024-05-01news: Add entry for ‘guix git authenticate’ changes....Ludovic Courtès 2024-04-30news: Add entry for removing linux-libre 6.7 (EoL)....Wilko Meyer 2024-04-29guix-install.sh: Fix setting GUIX_LOCPATH....Tomas Volf 2024-04-29guix-install.sh: Add default value for XCURSOR_PATH....Tomas Volf 2024-04-23news: Update news and commit for nss-certs change....Florian Pelz 2024-04-20news: Add 'de' translation....Florian Pelz 2024-04-18news: Add entry for nss-certs being added to %base-packages....Maxim Cournoyer 2024-04-09teams: Remove Björn Höfling from their team due to inactivity....Leo Famulari 2024-04-09teams: Remove Raghav Gururajan from their teams due to inactivity....Leo Famulari 2024-04-08news: Add entry for the linux-libre-lts 6.6 update....Ahmad Draidi via Guix-patches via 2024-04-07guix-install.sh: Make Guix modules available too....Janneke Nieuwenhuizen 2024-04-05guix-install.sh: Add ‘--uninstall’ flag....Ludovic Courtès 2024-04-03Switch order of the default substitute servers....Christopher Baines 2024-03-20Merge remote-tracking branch 'savannah/master' into gnome-team...Christopher Baines 2024-03-19teams: qt: Remove erroneous comment at top of scripts....Maxim Cournoyer