gnu: python-pandas: Fix build on 32-bit.
[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>
1a10cefc 3;;; Copyright © 2015, 2016, 2017 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")
1a10cefc 32 (version "2.7.5")
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
1a10cefc 40 "01yrh66rph0vn9q9r2d2jji5yzaakxrj75j9fsm0g41m8qpy4sr2"))))
7f40d97d
NK
41 (build-system gnu-build-system)
42 (inputs
b94a6ca0 43 `(("gettext" ,gettext-minimal)
7f40d97d 44 ("ncurses" ,ncurses)))
fbc44ef2 45 (home-page "https://www.nano-editor.org/")
f7758740 46 (synopsis "Small, user-friendly console text editor")
7f40d97d 47 (description
1a10cefc
EF
48 "GNU nano is a small and simple text editor for use in a terminal. Besides
49basic editing, it supports: undo/redo, syntax highlighting, spell checking,
50justifying, auto-indentation, bracket matching, interactive search-and-replace
51(with regular expressions), and the editing of multiple files.")
f50d2669 52 (license gpl3+))) ; some files are under GPLv2+