gnu: python-pandas: Fix build on 32-bit.
[jackhill/guix/guix.git] / gnu / packages / less.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
fe7777c1 3;;;
233e7676 4;;; This file is part of GNU Guix.
fe7777c1 5;;;
233e7676 6;;; GNU Guix is free software; you can redistribute it and/or modify it
fe7777c1
NK
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
233e7676 11;;; GNU Guix is distributed in the hope that it will be useful, but
fe7777c1
NK
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
233e7676 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
fe7777c1 18
1ffa7090 19(define-module (gnu packages less)
4a44e743 20 #:use-module (guix licenses)
1ffa7090 21 #:use-module (gnu packages ncurses)
fe7777c1
NK
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu))
25
26(define-public less
27 (package
28 (name "less")
ee53a144 29 (version "481")
fe7777c1
NK
30 (source
31 (origin
32 (method url-fetch)
33 (uri (string-append "mirror://gnu/less/less-"
34 version ".tar.gz"))
35 (sha256
36 (base32
ee53a144 37 "19fxj0h10y5bhr3a1xa7kqvnwl44db3sdypz8jxl1q79yln8z8rz"))))
fe7777c1
NK
38 (build-system gnu-build-system)
39 (inputs `(("ncurses" ,ncurses)))
40 (home-page "https://www.gnu.org/software/less/")
f50d2669 41 (synopsis "Paginator for terminals")
fe7777c1 42 (description
a22dc0c4
LC
43 "GNU less is a pager, a program that allows you to view large amounts
44of text in page-sized chunks. Unlike traditional pagers, it allows both
45backwards and forwards movement through the document. It also does not have
46to read the entire input file before starting, so it starts faster than most
47text editors.")
f50d2669 48 (license gpl3+))) ; some files are under GPLv2+