gnu: apl: Update to 1.4, add sqlite support.

* gnu/packages/apl.scm (apl): Update to 1.4.  Add 'sqlite' as an input.
  Pass --with-sqlite3 to configure.
This commit is contained in:
Mark H Weaver 2014-08-14 13:46:00 -04:00
parent 93c5b1fe1f
commit 87eabd5ca7

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -23,25 +24,31 @@ (define-module (gnu packages apl)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages maths) #:use-module (gnu packages maths)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages readline)) #:use-module (gnu packages readline))
(define-public apl (define-public apl
(package (package
(name "apl") (name "apl")
(version "1.3") (version "1.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/apl/apl-" version ".tar.gz")) (uri (string-append "mirror://gnu/apl/apl-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1pkwlm0nf5vb8sp9hf9wjmsrsyr4vdpd4kv5y3hzmsgf3wcf8y3i")))) "0fl9l4jb5wpnb54kqkphavi657z1cv15h9qj2rqy2shf33dk3nk9"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "http://www.gnu.org/software/apl/") (home-page "http://www.gnu.org/software/apl/")
(inputs (inputs
`(("gettext" ,gnu-gettext) `(("gettext" ,gnu-gettext)
("lapack" ,lapack) ("lapack" ,lapack)
("sqlite" ,sqlite)
("readline" ,readline))) ("readline" ,readline)))
(arguments
`(#:configure-flags (list (string-append
"--with-sqlite3="
(assoc-ref %build-inputs "sqlite")))))
(synopsis "APL interpreter") (synopsis "APL interpreter")
(description (description
"GNU APL is a free interpreter for the programming language APL. It is "GNU APL is a free interpreter for the programming language APL. It is