Commit | Line | Data |
---|---|---|
54845460 NK |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> | |
0c9df457 | 3 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> |
54845460 NK |
4 | ;;; |
5 | ;;; This file is part of GNU Guix. | |
6 | ;;; | |
7 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
8 | ;;; under the terms of the GNU General Public License as published by | |
9 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
10 | ;;; your option) any later version. | |
11 | ;;; | |
12 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
13 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | ;;; GNU General Public License for more details. | |
16 | ;;; | |
17 | ;;; You should have received a copy of the GNU General Public License | |
18 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
19 | ||
20 | (define-module (gnu packages smalltalk) | |
21 | #:use-module (guix licenses) | |
22 | #:use-module (guix packages) | |
23 | #:use-module (guix download) | |
24 | #:use-module (guix build-system gnu) | |
0c9df457 EF |
25 | #:use-module (gnu packages autotools) |
26 | #:use-module (gnu packages libffi) | |
27 | #:use-module (gnu packages libsigsegv) | |
28 | #:use-module (gnu packages pkg-config) | |
54845460 NK |
29 | #:use-module (gnu packages zip)) |
30 | ||
31 | (define-public smalltalk | |
32 | (package | |
33 | (name "smalltalk") | |
693b57e4 | 34 | (version "3.2.5") |
54845460 NK |
35 | (source |
36 | (origin | |
37 | (method url-fetch) | |
38 | (uri (string-append "mirror://gnu/smalltalk/smalltalk-" | |
39 | version ".tar.xz")) | |
40 | (sha256 | |
41 | (base32 | |
693b57e4 | 42 | "1k2ssrapfzhngc7bg1zrnd9n2vyxp9c9m70byvsma6wapbvib6l1")))) |
54845460 | 43 | (build-system gnu-build-system) |
0c9df457 EF |
44 | (native-inputs |
45 | `(("libffi" ,libffi) | |
46 | ("libltdl" ,libltdl) | |
47 | ("libsigsegv" ,libsigsegv) | |
48 | ("pkg-config" ,pkg-config))) | |
49 | (inputs | |
50 | `(("zip" ,zip))) | |
54845460 NK |
51 | (arguments |
52 | `(#:phases (alist-cons-before | |
53 | 'configure 'fix-libc | |
54 | (lambda _ | |
55 | (let ((libc (assoc-ref %build-inputs "libc"))) | |
56 | (substitute* "libc.la.in" | |
57 | (("@LIBC_SO_NAME@") "libc.so") | |
58 | (("@LIBC_SO_DIR@") (string-append libc "/lib"))))) | |
59 | %standard-phases))) | |
0c9df457 | 60 | (home-page "http://smalltalk.gnu.org/") |
f50d2669 | 61 | (synopsis "Smalltalk environment") |
54845460 | 62 | (description |
a22dc0c4 LC |
63 | "GNU Smalltalk is a free implementation of the Smalltalk language. It |
64 | implements the ANSI standard for the language and also includes extra classes | |
65 | such as ones for networking and GUI programming.") | |
54845460 | 66 | (license gpl2+))) |