summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-22 15:11:12 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-22 15:11:12 +0200
commit8dcad9aa9db80a4372a9fe5ce94b2d38c039ceac (patch)
tree3e90d0020fc36f518125d2f774972c1aea0aa8d4 /distro
parent9350da0dac07cb6b2863e2c9cb366d3f2c538747 (diff)
downloadguix-patches-8dcad9aa9db80a4372a9fe5ce94b2d38c039ceac.tar
guix-patches-8dcad9aa9db80a4372a9fe5ce94b2d38c039ceac.tar.gz
distro: Add GNU sed.
* distro/base.scm (sed): New variable.
Diffstat (limited to 'distro')
-rw-r--r--distro/base.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm
index 95f6e898fd..11b53ff9e4 100644
--- a/distro/base.scm
+++ b/distro/base.scm
@@ -108,6 +108,28 @@ code.")
(home-page "http://www.gnu.org/software/hello/")
(license "GPLv3+")))
+(define-public sed
+ (package
+ (name "sed")
+ (version "4.2.1")
+ (source (origin
+ (method http-fetch)
+ (uri (string-append "http://ftp.gnu.org/gnu/sed/sed-" version
+ ".tar.bz2"))
+ (sha256
+ (base32
+ "13wlsb4sf5d5a82xjhxqmdvrrn36rmw5f0pl9qyb9zkvldnb7hra"))))
+ (build-system gnu-build-system)
+ (description "GNU sed, a batch stream editor")
+ (long-description
+ "Sed (stream editor) isn't really a true text editor or text processor.
+Instead, it is used to filter text, i.e., it takes text input and performs
+some operation (or set of operations) on it and outputs the modified text.
+Sed is typically used for extracting part of a file using pattern matching or
+substituting multiple occurrences of a string within a file.")
+ (license "GPLv3+")
+ (home-page "http://www.gnu.org/software/sed/")))
+
(define-public m4
(package
(name "m4")