You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
2.2 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
  3. ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
  4. ;;;
  5. ;;; This file is part of GNU Guix.
  6. ;;;
  7. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  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. ;;;
  12. ;;; GNU Guix is distributed in the hope that it will be useful, but
  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
  18. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  19. (define-module (gnu packages ed)
  20. #:use-module (guix licenses)
  21. #:use-module (guix packages)
  22. #:use-module (guix download)
  23. #:use-module (guix build-system gnu))
  24. (define-public ed
  25. (package
  26. (name "ed")
  27. (version "1.9")
  28. (source (origin
  29. (method url-fetch)
  30. (uri (string-append "mirror://gnu/ed/ed-"
  31. version ".tar.gz"))
  32. (sha256
  33. (base32
  34. "122syihsx2hwzj75mkf5a9ssiky2xby748kp4cc00wzhmp7p5cym"))))
  35. (build-system gnu-build-system)
  36. (arguments
  37. '(#:configure-flags '("CC=gcc")
  38. #:phases (alist-cons-before 'patch-source-shebangs 'patch-test-suite
  39. (lambda _
  40. (substitute* "testsuite/check.sh"
  41. (("/bin/sh") (which "sh"))))
  42. %standard-phases)))
  43. (home-page "http://www.gnu.org/software/ed/")
  44. (synopsis "Line-oriented text editor")
  45. (description
  46. "Ed is a line-oriented text editor: rather than offering an overview of
  47. a document, ed performs editing one line at a time. It can be operated both
  48. interactively and via shell scripts. Its method of command input allows
  49. complex tasks to be performed in an automated way, however it has largely
  50. been superceded by full-screen editors like Emacs or Moe.")
  51. (license gpl3+)))