Update references from Guy's old name
[jackhill/guix/guix.git] / gnu / packages / ed.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
9589eecb 3;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
0aa94f0c 4;;;
233e7676 5;;; This file is part of GNU Guix.
0aa94f0c 6;;;
233e7676 7;;; GNU Guix is free software; you can redistribute it and/or modify it
0aa94f0c
NK
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
233e7676 12;;; GNU Guix is distributed in the hope that it will be useful, but
0aa94f0c
NK
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
233e7676 18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
0aa94f0c 19
1ffa7090 20(define-module (gnu packages ed)
4a44e743 21 #:use-module (guix licenses)
0aa94f0c
NK
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu))
25
26(define-public ed
27 (package
28 (name "ed")
ea2ddd33 29 (version "1.9")
b39a48ad
LC
30 (source (origin
31 (method url-fetch)
32 (uri (string-append "mirror://gnu/ed/ed-"
33 version ".tar.gz"))
34 (sha256
35 (base32
ea2ddd33 36 "122syihsx2hwzj75mkf5a9ssiky2xby748kp4cc00wzhmp7p5cym"))))
0aa94f0c 37 (build-system gnu-build-system)
9589eecb
LC
38 (arguments
39 '(#:configure-flags '("CC=gcc")
40 #:phases (alist-cons-before 'patch-source-shebangs 'patch-test-suite
41 (lambda _
42 (substitute* "testsuite/check.sh"
43 (("/bin/sh") (which "sh"))))
44 %standard-phases)))
0aa94f0c 45 (home-page "http://www.gnu.org/software/ed/")
f50d2669 46 (synopsis "Line-oriented text editor")
0aa94f0c 47 (description
a22dc0c4
LC
48 "Ed is a line-oriented text editor: rather than offering an overview of
49a document, ed performs editing one line at a time. It can be operated both
50interactively and via shell scripts. Its method of command input allows
51complex tasks to be performed in an automated way, however it has largely
52been superceded by full-screen editors like Emacs or Moe.")
4a44e743 53 (license gpl3+)))