diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-22 15:22:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-22 15:22:38 +0200 |
commit | 6794b278ce673e5270c12e642449257f13da4eea (patch) | |
tree | 7fa058dab4beaae4a896a91e64cbc3989c424d90 /distro/base.scm | |
parent | 852403224eaa2c42d7b246099ee93460d19e295e (diff) | |
download | guix-6794b278ce673e5270c12e642449257f13da4eea.tar.gz |
distro: Add GNU grep.
* distro/base.scm (grep): New variable.
Diffstat (limited to 'distro/base.scm')
-rw-r--r-- | distro/base.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm index cc90bd819e..bb634340fe 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -108,6 +108,26 @@ code.") (home-page "http://www.gnu.org/software/hello/") (license "GPLv3+"))) +(define-public grep + (package + (name "grep") + (version "2.14") + (source (origin + (method http-fetch) + (uri (string-append "http://ftp.gnu.org/gnu/grep/grep-" + version ".tar.xz")) + (sha256 + (base32 + "1qbjb1l7f9blckc5pqy8jlf6482hpx4awn2acmhyf5mv9wfq03p7")))) + (build-system gnu-build-system) + (description "GNU implementation of the Unix grep command") + (long-description + "The grep command searches one or more input files for lines containing a +match to a specified pattern. By default, grep prints the matching +lines.") + (license "GPLv3+") + (home-page "http://www.gnu.org/software/grep/"))) + (define-public sed (package (name "sed") |