gnu: orfm: Update to 0.4.1.
[jackhill/guix/guix.git] / gnu / packages / slang.scm
CommitLineData
e9257d37
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
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;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
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
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages slang)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (guix build-system gnu)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (gnu packages readline)
25 #:use-module (gnu packages ncurses)
26 #:use-module (gnu packages compression)
27 #:use-module (gnu packages image)
28 #:use-module (gnu packages pcre))
29
30(define-public slang
31 (package
32 (name "slang")
33 (version "2.3.0")
34 (source (origin
35 (method url-fetch)
36 (uri (string-append
37 "http://www.jedsoft.org/releases/slang/slang-"
38 version
39 ".tar.gz"))
40 (sha256
41 (base32
42 "0aqd2cjabj6nhd4r3dc4vhqif2bf3dmqnrn2gj0xm4gqyfd177jy"))
43 (modules '((guix build utils)))
44 (snippet
45 '(begin
46 (substitute* "src/Makefile.in"
47 (("/bin/ln") "ln"))
48 (substitute* "configure"
49 (("-ltermcap") ""))))))
50 (build-system gnu-build-system)
51 (arguments
ee2a7f07
MW
52 '(#:parallel-tests? #f
53 #:parallel-build? #f)) ; there's at least one race
e9257d37
LC
54 (inputs
55 `(("readline" ,readline)
56 ("zlib" ,zlib)
57 ("libpng" ,libpng)
58 ("pcre" ,pcre)
59 ("ncurses" ,ncurses)))
60 (home-page "http://www.jedsoft.org/slang/")
61 (synopsis "Library for interactive applications and extensibility")
62 (description
63 "S-Lang is a multi-platform programmer's library designed to allow a
64developer to create robust multi-platform software. It provides facilities
65required by interactive applications such as display/screen management,
66keyboard input, keymaps, and so on. The most exciting feature of the library
67is the slang interpreter that may be easily embedded into a program to make it
68extensible. While the emphasis has always been on the embedded nature of the
69interpreter, it may also be used in a stand-alone fashion through the use of
70slsh, which is part of the S-Lang distribution.")
71 (license license:gpl2+)))