Commit | Line | Data |
---|---|---|
233e7676 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> | |
4c733027 | 3 | ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> |
f7c9b01f | 4 | ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org> |
7f40d97d | 5 | ;;; |
233e7676 | 6 | ;;; This file is part of GNU Guix. |
7f40d97d | 7 | ;;; |
233e7676 | 8 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
7f40d97d NK |
9 | ;;; under the terms of the GNU General Public License as published by |
10 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
11 | ;;; your option) any later version. | |
12 | ;;; | |
233e7676 | 13 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
7f40d97d NK |
14 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | ;;; GNU General Public License for more details. | |
17 | ;;; | |
18 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 19 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
7f40d97d | 20 | |
1ffa7090 | 21 | (define-module (gnu packages nano) |
4a44e743 | 22 | #:use-module (guix licenses) |
1dba6407 | 23 | #:use-module (gnu packages gettext) |
1ffa7090 | 24 | #:use-module (gnu packages ncurses) |
7f40d97d NK |
25 | #:use-module (guix packages) |
26 | #:use-module (guix download) | |
27 | #:use-module (guix build-system gnu)) | |
28 | ||
29 | (define-public nano | |
30 | (package | |
31 | (name "nano") | |
f7c9b01f | 32 | (version "2.7.0") |
7f40d97d NK |
33 | (source |
34 | (origin | |
35 | (method url-fetch) | |
36 | (uri (string-append "mirror://gnu/nano/nano-" | |
37 | version ".tar.gz")) | |
38 | (sha256 | |
39 | (base32 | |
f7c9b01f | 40 | "1hzazcrbwjqiw89jjvlj97q0wf385qqkzcm0870pdrixiv7yklax")))) |
7f40d97d NK |
41 | (build-system gnu-build-system) |
42 | (inputs | |
b94a6ca0 | 43 | `(("gettext" ,gettext-minimal) |
7f40d97d NK |
44 | ("ncurses" ,ncurses))) |
45 | (home-page "http://www.nano-editor.org/") | |
f7758740 | 46 | (synopsis "Small, user-friendly console text editor") |
7f40d97d | 47 | (description |
79c311b8 | 48 | "GNU Nano is a small and simple text editor. In addition to basic |
a22dc0c4 LC |
49 | editing, it supports interactive search and replace, go to line and column |
50 | number, auto-indentation and more.") | |
f50d2669 | 51 | (license gpl3+))) ; some files are under GPLv2+ |