summary refs log tree commit diff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-22 17:24:38 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-22 23:49:36 +0200
commit2c957cd2441ec8a49aaf2dc8a8201a46e5000bea (patch)
tree9cccd515cf46b91c7d1f3f2b42e70eea81c66fe5 /distro
parent24cf75b9ef6818a228c9e071dea08bf97e3d8c4f (diff)
downloadguix-2c957cd2441ec8a49aaf2dc8a8201a46e5000bea.tar.gz
distro: Add GNU Coreutils.
* distro/base.scm (coreutils): New variable.
Diffstat (limited to 'distro')
-rw-r--r--distro/base.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm
index c945205b72..e799161512 100644
--- a/distro/base.scm
+++ b/distro/base.scm
@@ -342,6 +342,35 @@ The tools supplied with this package are:
    (license "GPLv3+")
    (home-page "http://www.gnu.org/software/findutils/")))
 
+(define-public coreutils
+  (package
+   (name "coreutils")
+   (version "8.19")
+   (source (origin
+            (method http-fetch)
+            (uri (string-append "http://ftp.gnu.org/gnu/coreutils/coreutils-"
+                                version ".tar.xz"))
+            (sha256
+             (base32
+              "1rx9x3fp848w4nny7irdkcpkan9fcx24d99v5dkwgkyq7wc76f5d"))))
+   (build-system gnu-build-system)
+   (inputs `())                      ; TODO: optional deps: SELinux, ACL, GMP
+   (arguments
+    '(;; In the chroot, `./configure' thinks it's running as root.
+      #:configure-flags '("FORCE_UNSAFE_CONFIGURE=1")
+
+      ;; Perl is missing, and some tests are failing.
+      #:tests? #f))
+   (description
+    "The basic file, shell and text manipulation utilities of the GNU
+operating system")
+   (long-description
+    "The GNU Core Utilities are the basic file, shell and text manipulation
+utilities of the GNU operating system.  These are the core utilities which
+are expected to exist on every operating system.")
+   (license "GPLv3+")
+   (home-page "http://www.gnu.org/software/coreutils/")))
+
 (define-public m4
   (package
    (name "m4")