[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: Add GNU Mach.
From: |
Ludovic Courtès |
Subject: |
01/06: gnu: Add GNU Mach. |
Date: |
Sun, 19 Mar 2017 13:16:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 8df672aad5dc8d93da750c96f472ba2155d51da1
Author: Manolis Ragkousis <address@hidden>
Date: Thu Mar 16 09:29:55 2017 -0600
gnu: Add GNU Mach.
* gnu/packages/hurd.scm (gnumach): New variable.
Co-authored-by: Rene Saavedra <address@hidden>
Co-authored-by: Ludovic Courtès <address@hidden>
---
gnu/packages/hurd.scm | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index ba91b60..2d7b7b2 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015, 2016 Manolis Fragkiskos Ragkousis <address@hidden>
+;;; Copyright © 2014, 2015, 2016, 2017 Manolis Fragkiskos Ragkousis
<address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -210,3 +210,35 @@ Library for GNU/Hurd.")
Hurd-minimal package which are needed for both glibc and GCC.")
(home-page (package-home-page hurd-headers))
(license (package-license hurd-headers))))
+
+(define-public gnumach
+ (package
+ (name "gnumach")
+ (version "1.8")
+ (source (origin
+ (method url-fetch)
+ (uri (gnumach-source-url version))
+ (sha256
+ (base32
+ "02hygsfpd2dljl5lg1vjjg9pizi9jyxd4aiiqzjshz6jax62jm9f"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'install 'produce-image
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (boot (string-append out "/boot")))
+ (and (zero? (system* "make" "gnumach.gz"))
+ (begin
+ (install-file "gnumach.gz" boot)
+ #t))))))))
+ (native-inputs
+ `(("mig" ,mig)
+ ("perl" ,perl)))
+ (supported-systems (cons "i686-linux" %hurd-systems))
+ (home-page
+ "https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html")
+ (synopsis "Microkernel of the GNU system")
+ (description
+ "GNU Mach is the microkernel upon which a GNU Hurd system is based.")
+ (license gpl2+)))
- branch master updated (f729a4d -> 7c86c03), Ludovic Courtès, 2017/03/19
- 01/06: gnu: Add GNU Mach.,
Ludovic Courtès <=
- 04/06: gnu: haunt: Default to Guile 2.2., Ludovic Courtès, 2017/03/19
- 02/06: gnu: Rename "guile-next" to "guile"., Ludovic Courtès, 2017/03/19
- 03/06: gnu: Add 'package-for-guile-2.0'., Ludovic Courtès, 2017/03/19
- 05/06: gnu: guile-reader: Default to Guile 2.2., Ludovic Courtès, 2017/03/19
- 06/06: gnu: guile-commonmark: Default to Guile 2.2., Ludovic Courtès, 2017/03/19