[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: hurd: Add hurd-kernel-headers package.
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
01/03: gnu: hurd: Add hurd-kernel-headers package. |
Date: |
Tue, 11 Aug 2015 13:38:30 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 7bb1e603d096fa2d99aa3c3e1daa60391fee76a4
Author: Manolis Ragkousis <address@hidden>
Date: Fri Jul 31 15:26:17 2015 +0300
gnu: hurd: Add hurd-kernel-headers package.
* gnu/packages/hurd.scm (hurd-kernel-headers): New variable.
---
gnu/packages/hurd.scm | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index ae84362..8f32c9b 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -23,6 +23,7 @@
#:use-module (gnu packages)
#:use-module (guix utils)
#: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)
@@ -183,3 +184,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-kernel-headers
+ (package
+ (name "hurd-kernel-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 libs")
+ (description
+ "A 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))))