From 8dcad9aa9db80a4372a9fe5ce94b2d38c039ceac Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 22 Aug 2012 15:11:12 +0200 Subject: distro: Add GNU sed. * distro/base.scm (sed): New variable. --- distro/base.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'distro/base.scm') 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") -- cgit v1.2.3