2020-10-04 08:00:52 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-07-25 09:39:39 -04:00
|
|
|
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
2020-10-04 08:00:52 -04:00
|
|
|
;;;
|
|
|
|
;;; 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
|
2023-12-17 16:32:11 -05:00
|
|
|
autotools base bootloaders commencement compression file gawk gdb gettext gtk
|
|
|
|
guile guile-xyz hurd less m4 package-management python ssh
|
|
|
|
texinfo tls version-control)
|
2020-10-04 08:00:52 -04:00
|
|
|
|
|
|
|
(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
|
2023-12-17 16:32:11 -05:00
|
|
|
autoconf automake libtool texinfo
|
2020-10-04 08:00:52 -04:00
|
|
|
gcc-toolchain gdb-minimal git-minimal gnu-make
|
2023-07-25 09:39:39 -04:00
|
|
|
gettext-minimal python-minimal
|
2023-12-17 16:32:11 -05:00
|
|
|
guile-3.0 guile-2.2 guile-2.0
|
|
|
|
guile-readline guile-colorized
|
|
|
|
guile-gnutls guile-fibers guile-json-4
|
2020-10-04 08:00:52 -04:00
|
|
|
|
2023-07-25 09:39:39 -04:00
|
|
|
;; ourselves!
|
|
|
|
(package-without-tests guix)
|
|
|
|
|
|
|
|
;; system
|
|
|
|
grub-minimal grub
|
2020-10-04 08:00:52 -04:00
|
|
|
|
2023-09-19 01:23:28 -04:00
|
|
|
;; system reconfigure
|
|
|
|
gdk-pixbuf
|
|
|
|
|
2020-10-04 08:00:52 -04:00
|
|
|
(append
|
|
|
|
guix-dependencies
|
2023-07-25 09:39:39 -04:00
|
|
|
%base-packages/hurd)))
|