gnu: guile-ncurses: Update to version 2.0.

* gnu/packages/guile.scm (guile-ncurses): Update version to 2.0.
This commit is contained in:
John Darrington 2016-10-22 17:17:34 +02:00
parent ed53a07145
commit 0881b616f4
No known key found for this signature in database
GPG Key ID: 8A67719C2DE827B3

View File

@ -385,22 +385,21 @@ many readers as needed).")
(define-public guile-ncurses (define-public guile-ncurses
(package (package
(name "guile-ncurses") (name "guile-ncurses")
(version "1.7") (version "2.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/guile-ncurses/guile-ncurses-" (uri (string-append "mirror://gnu/guile-ncurses/guile-ncurses-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"153vv75gb7l62sp3666rc97i63rnaqbx2rjar7d9b5w81fhwv4r5")))) "0avqa7iiqpw0wgj9ga5ffxka4znrhpx1bv3bb2ah7mnylap91sfw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("ncurses" ,ncurses) (inputs `(("ncurses" ,ncurses)
("guile" ,guile-2.0))) ("guile" ,guile-2.0)))
(native-inputs `(("pkg-config" ,pkg-config)))
(arguments (arguments
'(#:configure-flags (list "--with-ncursesw" ; Unicode support '(#:configure-flags (list "--with-ncursesw" ; Unicode support
(string-append "--with-guilesitedir=" "--with-gnu-filesystem-hierarchy")
(assoc-ref %outputs "out")
"/share/guile/site/2.0"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'install 'post-install (add-after 'install 'post-install
@ -410,7 +409,7 @@ many readers as needed).")
(files (find-files dir ".scm"))) (files (find-files dir ".scm")))
(substitute* files (substitute* files
(("\"libguile-ncurses\"") (("\"libguile-ncurses\"")
(format #f "\"~a/lib/libguile-ncurses\"" (format #f "\"~a/lib/guile/2.0/libguile-ncurses\""
out))))))))) out)))))))))
(home-page "http://www.gnu.org/software/guile-ncurses/") (home-page "http://www.gnu.org/software/guile-ncurses/")
(synopsis "Guile bindings to ncurses") (synopsis "Guile bindings to ncurses")