aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ed.scm
blob: c2b19292f02719a9082b433bec0136f3c71dd91d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages ed)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages compression))

(define-public ed
  (package
    (name "ed")
    (version "1.10")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/ed/ed-"
                                 version ".tar.lz"))
             (sha256
              (base32
               "16kycdm5fcvpdr41hxb2da8da6jzs9dqznsg5552z6rh28n0jh4m"))))
    (build-system gnu-build-system)
    (native-inputs `(("lzip" ,lzip)))
    (arguments
     '(#:configure-flags '("CC=gcc")
       #:phases (alist-cons-before 'patch-source-shebangs 'patch-test-suite
                                   (lambda _
                                     (substitute* "testsuite/check.sh"
                                       (("/bin/sh") (which "sh"))))
                                   %standard-phases)))
    (home-page "http://www.gnu.org/software/ed/")
    (synopsis "Line-oriented text editor")
    (description
     "Ed is a line-oriented text editor: rather than offering an overview of
a document, ed performs editing one line at a time.  It can be executed both
interactively and via shell scripts.  Its method of command input allows
complex tasks to be performed in an automated way.  GNU ed offers several
extensions over the standard utility.")
    (license gpl3+)))
c.scm?id=e48390cb200e66d5313e19167dec4f92dc7c2e8a'>gnu: libbytesize: Update to 2.2.Tobias Geerinckx-Rice 2019-12-03gnu: tcc: Add search paths and drop the wrapper.Andreas Enge 2019-11-26gnu: Add libhx.Guillaume Le Vaillant 2019-11-22gnu: libbytesize: Update to 2.1.Tobias Geerinckx-Rice 2019-05-21gnu: Add libfixposix.Pierre Neidhardt 2019-03-24gnu: Add udunits.Ricardo Wurmus 2019-01-31gnu: tcc: Fix building on armhf-linux.Efraim Flashner 2019-01-31gnu: tcc: Mark aarch64-linux as supported.Efraim Flashner 2018-11-21gnu: libbytesize: Make .mo file builds reproducible.Ludovic Courtès 2018-11-08gnu: pcc: Use INVOKE.Ricardo Wurmus 2018-10-24gnu: libbytesize: Update to 1.4.Tobias Geerinckx-Rice 2018-08-27Update email for Pierre Neidhardt.Pierre Neidhardt 2018-07-30gnu: Add libbytesize.Pierre Neidhardt 2018-04-30gnu: tcc-wrapper: Use Guile 2.2.Ludovic Courtès 2018-01-19gnu: tcc: Update to 0.9.27.Tobias Geerinckx-Rice