[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: hurd: Add hurd-core-headers package.
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
01/01: gnu: hurd: Add hurd-core-headers package. |
Date: |
Thu, 26 May 2016 11:43:43 +0000 (UTC) |
phant0mas pushed a commit to branch master
in repository guix.
commit 38efbcbb7929b2cfb12efae60acc2bfb8bb2c988
Author: Manolis Ragkousis <address@hidden>
Date: Tue May 24 20:42:59 2016 +0300
gnu: hurd: Add hurd-core-headers package.
* gnu/packages/hurd.scm (hurd-core-headers): New variable.
---
gnu/packages/hurd.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 7a0a158..2b2e162 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 Manolis Fragkiskos Ragkousis <address@hidden>
+;;; Copyright © 2014, 2015, 2016 Manolis Fragkiskos Ragkousis <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,6 +22,7 @@
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system trivial)
#:use-module (gnu packages flex)
#:use-module (gnu packages bison)
#:use-module (gnu packages perl)
@@ -185,3 +186,28 @@ Library and other user programs.")
"This package provides libihash, needed to build the GNU C
Library for GNU/Hurd.")
(license gpl2+)))
+
+(define-public hurd-core-headers
+ (package
+ (name "hurd-core-headers")
+ (version (package-version hurd-headers))
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments
+ '(#:modules ((guix build union))
+ #:builder (begin
+ (use-modules (ice-9 match)
+ (guix build union))
+ (match %build-inputs
+ (((names . directories) ...)
+ (union-build (assoc-ref %outputs "out")
+ directories))))))
+ (inputs `(("gnumach-headers" ,gnumach-headers)
+ ("hurd-headers" ,hurd-headers)
+ ("hurd-minimal" ,hurd-minimal)))
+ (synopsis "Union of the Hurd headers and libraries")
+ (description
+ "This package contains the union of the Mach and Hurd headers and the
+Hurd-minimal package which are needed for both glibc and GCC.")
+ (home-page (package-home-page hurd-headers))
+ (license (package-license hurd-headers))))