summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-22 15:21:50 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-22 15:21:50 +0200
commit852403224eaa2c42d7b246099ee93460d19e295e (patch)
treea977589256739955e73e6704f023ee8972280d8b
parent8dcad9aa9db80a4372a9fe5ce94b2d38c039ceac (diff)
downloadguix-852403224eaa2c42d7b246099ee93460d19e295e.tar.gz
distro: Add GNU tar.
* distro/base.scm (tar): New variable.
-rw-r--r--distro/base.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm
index 11b53ff9e4..cc90bd819e 100644
--- a/distro/base.scm
+++ b/distro/base.scm
@@ -130,6 +130,33 @@ substituting multiple occurrences of a string within a file.")
    (license "GPLv3+")
    (home-page "http://www.gnu.org/software/sed/")))
 
+(define-public tar
+  (package
+   (name "tar")
+   (version "1.26")
+   (source (origin
+            (method http-fetch)
+            (uri (string-append "http://ftp.gnu.org/gnu/tar/tar-"
+                                version ".tar.bz2"))
+            (sha256
+             (base32
+              "0hbdkzmchq9ycr2x1pxqdcgdbaxksh8c6ac0jf75jajhcks6jlss"))))
+   (build-system gnu-build-system)
+   (description "GNU implementation of the `tar' archiver")
+   (long-description
+    "The Tar program provides the ability to create tar archives, as well as
+various other kinds of manipulation.  For example, you can use Tar on
+previously created archives to extract files, to store additional files, or
+to update or list files which were already stored.
+
+Initially, tar archives were used to store files conveniently on magnetic
+tape.  The name \"Tar\" comes from this use; it stands for tape archiver.
+Despite the utility's name, Tar can direct its output to available devices,
+files, or other programs (using pipes), it can even access remote devices or
+files (as archives).")
+   (license "GPLv3+")
+   (home-page "http://www.gnu.org/software/tar/")))
+
 (define-public m4
   (package
    (name "m4")