You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
2.1 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.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. (define-module (gnu packages smalltalk)
  19. #:use-module (guix licenses)
  20. #:use-module (guix packages)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system gnu)
  23. #:use-module (gnu packages zip))
  24. (define-public smalltalk
  25. (package
  26. (name "smalltalk")
  27. (version "3.2.5")
  28. (source
  29. (origin
  30. (method url-fetch)
  31. (uri (string-append "mirror://gnu/smalltalk/smalltalk-"
  32. version ".tar.xz"))
  33. (sha256
  34. (base32
  35. "1k2ssrapfzhngc7bg1zrnd9n2vyxp9c9m70byvsma6wapbvib6l1"))))
  36. (build-system gnu-build-system)
  37. (inputs `(("zip" ,zip)))
  38. (arguments
  39. `(#:phases (alist-cons-before
  40. 'configure 'fix-libc
  41. (lambda _
  42. (let ((libc (assoc-ref %build-inputs "libc")))
  43. (substitute* "libc.la.in"
  44. (("@LIBC_SO_NAME@") "libc.so")
  45. (("@LIBC_SO_DIR@") (string-append libc "/lib")))))
  46. %standard-phases)))
  47. (home-page "https://www.gnu.org/software/smalltalk/")
  48. (synopsis "Smalltalk environment")
  49. (description
  50. "GNU Smalltalk is a free implementation of the Smalltalk language. It
  51. implements the ANSI standard for the language and also includes extra classes
  52. such as ones for networking and GUI programming.")
  53. (license gpl2+)))