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.0 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
  3. ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
  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. (define-module (gnu packages apl)
  20. #:use-module (guix licenses)
  21. #:use-module (guix packages)
  22. #:use-module (guix download)
  23. #:use-module (guix build-system gnu)
  24. #:use-module (gnu packages gettext)
  25. #:use-module (gnu packages maths)
  26. #:use-module (gnu packages databases)
  27. #:use-module (gnu packages readline))
  28. (define-public apl
  29. (package
  30. (name "apl")
  31. (version "1.4")
  32. (source
  33. (origin
  34. (method url-fetch)
  35. (uri (string-append "mirror://gnu/apl/apl-" version ".tar.gz"))
  36. (sha256
  37. (base32
  38. "0fl9l4jb5wpnb54kqkphavi657z1cv15h9qj2rqy2shf33dk3nk9"))))
  39. (build-system gnu-build-system)
  40. (home-page "http://www.gnu.org/software/apl/")
  41. (inputs
  42. `(("gettext" ,gnu-gettext)
  43. ("lapack" ,lapack)
  44. ("sqlite" ,sqlite)
  45. ("readline" ,readline)))
  46. (arguments
  47. `(#:configure-flags (list (string-append
  48. "--with-sqlite3="
  49. (assoc-ref %build-inputs "sqlite")))))
  50. (synopsis "APL interpreter")
  51. (description
  52. "GNU APL is a free interpreter for the programming language APL. It is
  53. an implementation of the ISO standard 13751.")
  54. (license gpl3+)))