gnu: emacs-tuareg: Update to 3.0.0.
* gnu/packages/ocaml.scm (emacs-tuareg): Update to 3.0.0.master
parent
6e4f9e2929
commit
32135b0357
|
@ -1079,54 +1079,50 @@ 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
|
||||||
;; Last upstream release on Sept., 14th, 2018, since then "Package cl
|
(package
|
||||||
;; deprecated" or 'lexical-binding' and others had been fixed.
|
(name "emacs-tuareg")
|
||||||
(let ((commit "ccde45bbc292123ec20617f1af7f7e19f7481545")
|
(version "3.0.0")
|
||||||
(revision "0"))
|
(source
|
||||||
(package
|
(origin
|
||||||
(name "emacs-tuareg")
|
(method git-fetch)
|
||||||
(version (git-version "2.2.0" revision commit))
|
(uri (git-reference
|
||||||
(source
|
(url "https://github.com/ocaml/tuareg")
|
||||||
(origin
|
(commit version)))
|
||||||
(method git-fetch)
|
(file-name (git-file-name name version))
|
||||||
(uri (git-reference
|
(sha256
|
||||||
(url "https://github.com/ocaml/tuareg")
|
(base32 "115vm0hq4xkwfd3w0j8xqhkdgcirlxpnwzwxv02c27583hj056is"))))
|
||||||
(commit commit)))
|
(build-system gnu-build-system)
|
||||||
(file-name (git-file-name name version))
|
(native-inputs
|
||||||
(sha256
|
`(("emacs" ,emacs-minimal)
|
||||||
(base32 "1yxv4bnqarilnpg5j7wywall8170hwvm0q4xx06yqjgcn8pq1lac"))))
|
("opam" ,opam)))
|
||||||
(build-system gnu-build-system)
|
(arguments
|
||||||
(native-inputs
|
`(#:phases
|
||||||
`(("emacs" ,emacs-minimal)
|
(modify-phases %standard-phases
|
||||||
("opam" ,opam)))
|
(add-after 'unpack 'make-git-checkout-writable
|
||||||
(arguments
|
(lambda _
|
||||||
`(#:phases
|
(for-each make-file-writable (find-files "."))
|
||||||
(modify-phases %standard-phases
|
#t))
|
||||||
(add-after 'unpack 'make-git-checkout-writable
|
(delete 'configure)
|
||||||
(lambda _
|
(add-before 'install 'fix-install-path
|
||||||
(for-each make-file-writable (find-files "."))
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
#t))
|
(substitute* "Makefile"
|
||||||
(delete 'configure)
|
(("/emacs/site-lisp")
|
||||||
(add-before 'install 'fix-install-path
|
(string-append (assoc-ref %outputs "out")
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
"/share/emacs/site-lisp/")))
|
||||||
(substitute* "Makefile"
|
#t))
|
||||||
(("/emacs/site-lisp")
|
(add-after 'install 'post-install
|
||||||
(string-append (assoc-ref %outputs "out")
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
"/share/emacs/site-lisp/")))
|
(symlink "tuareg.el"
|
||||||
#t))
|
(string-append (assoc-ref outputs "out")
|
||||||
(add-after 'install 'post-install
|
"/share/emacs/site-lisp/"
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
"tuareg-autoloads.el"))
|
||||||
(symlink "tuareg.el"
|
#t)))))
|
||||||
(string-append (assoc-ref outputs "out")
|
(home-page "https://github.com/ocaml/tuareg")
|
||||||
"/share/emacs/site-lisp/"
|
(synopsis "OCaml programming mode, REPL, debugger for Emacs")
|
||||||
"tuareg-autoloads.el"))
|
(description "Tuareg helps editing OCaml code, to highlight important
|
||||||
#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
|
||||||
|
|
Reference in New Issue