gnu: libdvdcss: Update to 1.4.3.
[jackhill/guix/guix.git] / gnu / packages / nano.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
0f43866e 3;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
f7c9b01f 4;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
9f60d927 5;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
7f40d97d 6;;;
233e7676 7;;; This file is part of GNU Guix.
7f40d97d 8;;;
233e7676 9;;; GNU Guix is free software; you can redistribute it and/or modify it
7f40d97d
NK
10;;; under the terms of the GNU General Public License as published by
11;;; the Free Software Foundation; either version 3 of the License, or (at
12;;; your option) any later version.
13;;;
233e7676 14;;; GNU Guix is distributed in the hope that it will be useful, but
7f40d97d
NK
15;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;;; GNU General Public License for more details.
18;;;
19;;; You should have received a copy of the GNU General Public License
233e7676 20;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
7f40d97d 21
1ffa7090 22(define-module (gnu packages nano)
4a44e743 23 #:use-module (guix licenses)
1dba6407 24 #:use-module (gnu packages gettext)
1ffa7090 25 #:use-module (gnu packages ncurses)
7f40d97d
NK
26 #:use-module (guix packages)
27 #:use-module (guix download)
28 #:use-module (guix build-system gnu))
29
30(define-public nano
31 (package
32 (name "nano")
66fac8ad 33 (version "5.6.1")
7f40d97d
NK
34 (source
35 (origin
36 (method url-fetch)
c8a67f13 37 (uri (string-append "mirror://gnu/nano/nano-" version ".tar.xz"))
7f40d97d 38 (sha256
66fac8ad 39 (base32 "02cbxqizbdlfwnz8dpq4fbzmdi4yk6fv0cragvpa0748w1cp03bn"))))
7f40d97d
NK
40 (build-system gnu-build-system)
41 (inputs
b94a6ca0 42 `(("gettext" ,gettext-minimal)
7f40d97d 43 ("ncurses" ,ncurses)))
fbc44ef2 44 (home-page "https://www.nano-editor.org/")
f7758740 45 (synopsis "Small, user-friendly console text editor")
7f40d97d 46 (description
1a10cefc
EF
47 "GNU nano is a small and simple text editor for use in a terminal. Besides
48basic editing, it supports: undo/redo, syntax highlighting, spell checking,
49justifying, auto-indentation, bracket matching, interactive search-and-replace
50(with regular expressions), and the editing of multiple files.")
f50d2669 51 (license gpl3+))) ; some files are under GPLv2+