me
/
guix
Archived
1
0
Fork 0

gnu: emacs-tuareg: Update to 2.2.0-0.ccde45b.

* gnu/packages/ocaml.scm (emacs-tuareg): Update to 2.2.0-0.ccde45b.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
master
zimoun 2020-10-05 09:14:54 +02:00 committed by Nicolas Goaziou
parent 80641727ed
commit 87f31bf2a8
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 47 additions and 41 deletions

View File

@ -15,6 +15,7 @@
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org> ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org> ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Simon Tournier <zimon.toutoune@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -672,49 +673,54 @@ the OCaml core distribution.")
(license license:lgpl2.1+))); with linking exception (license license:lgpl2.1+))); with linking exception
(define-public emacs-tuareg (define-public emacs-tuareg
(package ;; Last upstream release on Sept., 14th, 2018, since then "Package cl
(name "emacs-tuareg") ;; deprecated" or 'lexical-binding' and others had been fixed.
(version "2.2.0") (let ((commit "ccde45bbc292123ec20617f1af7f7e19f7481545")
(source (revision "0"))
(origin (package
(method git-fetch) (name "emacs-tuareg")
(uri (git-reference (version (git-version "2.2.0" revision commit))
(url "https://github.com/ocaml/tuareg") (source
(commit version))) (origin
(file-name (git-file-name name version)) (method git-fetch)
(sha256 (uri (git-reference
(base32 "06zxnn85fk5087iq0zxc5l5n9fz8r0367wylmynbfhc9711vccy6")))) (url "https://github.com/ocaml/tuareg")
(build-system gnu-build-system) (commit commit)))
(native-inputs `(("emacs" ,emacs-minimal) (file-name (git-file-name name version))
("opam" ,opam))) (sha256
(arguments (base32 "1yxv4bnqarilnpg5j7wywall8170hwvm0q4xx06yqjgcn8pq1lac"))))
`(#:phases (build-system gnu-build-system)
(modify-phases %standard-phases (native-inputs
(add-after 'unpack 'make-git-checkout-writable `(("emacs" ,emacs-minimal)
(lambda _ ("opam" ,opam)))
(for-each make-file-writable (find-files ".")) (arguments
#t)) `(#:phases
(delete 'configure) (modify-phases %standard-phases
(add-before 'install 'fix-install-path (add-after 'unpack 'make-git-checkout-writable
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(substitute* "Makefile" (for-each make-file-writable (find-files "."))
(("/emacs/site-lisp") #t))
(string-append (assoc-ref %outputs "out") (delete 'configure)
"/share/emacs/site-lisp/"))) (add-before 'install 'fix-install-path
#t)) (lambda* (#:key outputs #:allow-other-keys)
(add-after 'install 'post-install (substitute* "Makefile"
(lambda* (#:key outputs #:allow-other-keys) (("/emacs/site-lisp")
(symlink "tuareg.el" (string-append (assoc-ref %outputs "out")
(string-append (assoc-ref outputs "out") "/share/emacs/site-lisp/")))
"/share/emacs/site-lisp/" #t))
"tuareg-autoloads.el")) (add-after 'install 'post-install
#t))))) (lambda* (#:key outputs #:allow-other-keys)
(home-page "https://github.com/ocaml/tuareg") (symlink "tuareg.el"
(synopsis "OCaml programming mode, REPL, debugger for Emacs") (string-append (assoc-ref outputs "out")
(description "Tuareg helps editing OCaml code, to highlight important "/share/emacs/site-lisp/"
"tuareg-autoloads.el"))
#t)))))
(home-page "https://github.com/ocaml/tuareg")
(synopsis "OCaml programming mode, REPL, debugger for Emacs")
(description "Tuareg helps editing OCaml code, to highlight important
parts of the code, to run an OCaml REPL, and to run the OCaml debugger within parts of the code, to run an OCaml REPL, and to run the OCaml debugger within
Emacs.") Emacs.")
(license license:gpl2+))) (license license:gpl2+))))
(define-public ocaml-menhir (define-public ocaml-menhir
(package (package