aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ed.scm
blob: a42ba401024b2fb67741fc138a60d6febbd18954 (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
56
57
58
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; 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.17")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/ed/ed-"
                                 version ".tar.lz"))
             (sha256
              (base32
               "0m2yrkfjjraakxr98nsiakqrn351h99n706x9asgmdi57j43kpki"))))
    (build-system gnu-build-system)
    (native-inputs (list lzip))
    (arguments
     '(#:configure-flags '("CC=gcc")
       #:phases
       (modify-phases %standard-phases
         (add-before 'patch-source-shebangs 'patch-test-suite
                     (lambda _
                       (substitute* "testsuite/check.sh"
                         (("/bin/sh") (which "sh")))
                       #t)))))
    (home-page "https://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+)))
73c942d8cd62cd11a5c1070c254'>gnu: Add python-sphinxext-opengraph.Vinicius Monego 2021-12-10gnu: Add python-sphinx-prompt.Vinicius Monego 2021-12-08gnu: python2-sphinx: Remove websupport test.Ricardo Wurmus 2021-12-08gnu: python2-sphinxcontrib-websupport: Downgrade to 1.1.2.Ricardo Wurmus 2021-11-11gnu: python-sphinx: Update to 4.2.0.Maxim Cournoyer 2021-11-11gnu: python-sphinxcontrib-serializinghtml: Update to 1.1.5.Maxim Cournoyer 2021-11-11gnu: python-sphinxcontrib-htmlhelp: Update to 2.0.0.Maxim Cournoyer 2021-09-07Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-07-27gnu: python-sphinx: Update to 4.0.3.Leo Famulari 2021-08-15Update copyright/name notices for Christine Lemmer-Webber.Christopher Lemmer Webber 2021-07-18Merge branch 'master' into core-updatesLudovic Courtès 2021-07-09gnu: Add python-pydata-sphinx-theme.Hugo Lecomte 2021-07-09gnu: Add python-sphinxcontrib-autoprogram.Hugo Lecomte 2021-07-09gnu: Add python-jupyter-sphinx.Hugo Lecomte 2021-06-06Merge branch 'master' into core-updatesMarius Bakke 2021-06-02gnu: python-sphinx-gallery: Update to 0.9.0.Vinicius Monego 2021-05-24gnu: python-breathe: Update to 4.30.0.Marius Bakke 2021-05-22gnu: python-sphinx: Update to 4.0.1.Marius Bakke 2021-04-13gnu: Add python-sphinxcontrib-github-alt.Ricardo Wurmus 2021-03-15gnu: python-sphobjinv: Fix build.Léo Le Bouter 2021-03-14gnu: Add python-sphinx-autodoc-typehints.Eric Bavier 2021-03-14gnu: Add python-sphobjinv.Eric Bavier 2021-02-05gnu: Add python2-sphinx.Ricardo Wurmus 2021-02-02gnu: Add python-sphinx-argparse.Nicolas Goaziou 2021-02-01Merge branch 'staging'Leo Famulari 2021-01-27gnu: python-xyz: Move a few modules to (gnu packages python-build).Maxim Cournoyer