Archived
1
0
Fork 0

gnu: emacs-sly: Update to 1.0.42.

* gnu/packages/emacs-xyz.scm (emacs-sly): Update to 1.0.42.
This commit is contained in:
Pierre Neidhardt 2020-12-30 21:04:06 +01:00
parent b4b1c64040
commit 2223333943
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -9482,84 +9482,82 @@ are pretty much the same (and SLIME served as the principle inspiration for
CIDER).") CIDER).")
(license license:gpl3+))) (license license:gpl3+)))
;; There hasn't been a tag or release since 2016, so we take the latest
;; commit.
(define-public emacs-sly (define-public emacs-sly
(let ((commit "68561f1b7b66fa0240766ece836bb04da31ea17d") ;; Update together with sbcl-slynk.
;; Update together with sbcl-slynk. (package
(revision "7")) (name "emacs-sly")
(package (version "1.0.42")
(name "emacs-sly") (source
(version (git-version "1.0.0" revision commit)) (origin
(source (method git-fetch)
(origin (uri (git-reference
(method git-fetch) (url "https://github.com/joaotavora/sly")
(uri (git-reference (commit version)))
(url "https://github.com/joaotavora/sly") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (git-file-name name version)) (base32
(sha256 "10l867c4hgcpiajcfkz9g9vabp7y4bcgy51la6n9pqxrlg1fs455"))))
(base32 (build-system emacs-build-system)
"1xwx537dhgclngi6b0faf320i8pnac9309wvmk6z2g6dm3v652ds")))) (native-inputs
(build-system emacs-build-system) `(("texinfo" ,texinfo)))
(native-inputs (arguments
`(("texinfo" ,texinfo))) `(#:include (cons* "^contrib\\/" "^lib\\/" "^slynk\\/" %default-include)
(arguments #:phases
`(#:include (cons* "^contrib\\/" "^lib\\/" "^slynk\\/" %default-include) ;; The package provides autoloads.
#:phases (modify-phases %standard-phases
;; The package provides autoloads. (delete 'make-autoloads)
(modify-phases %standard-phases (add-before 'install 'install-doc
(delete 'make-autoloads) (lambda* (#:key outputs #:allow-other-keys)
(add-before 'install 'install-doc (let* ((out (assoc-ref outputs "out"))
(lambda* (#:key outputs #:allow-other-keys) (info-dir (string-append out "/share/info"))
(let* ((out (assoc-ref outputs "out")) (doc-dir (string-append out "/share/doc/"
(info-dir (string-append out "/share/info")) ,name "-" ,version))
(doc-dir (string-append out "/share/doc/" (doc-files '( ;; "doc/sly-refcard.pdf" ; See sly-refcard.pdf below.
,name "-" ,version)) "README.md" "NEWS.md" "PROBLEMS.md"
(doc-files '(;; "doc/sly-refcard.pdf" ; See sly-refcard.pdf below. "CONTRIBUTING.md")))
"README.md" "NEWS.md" "PROBLEMS.md" (with-directory-excursion "doc"
"CONTRIBUTING.md"))) (substitute* "Makefile"
(with-directory-excursion "doc" (("infodir=/usr/local/info")
(substitute* "Makefile" (string-append "infodir=" info-dir))
(("infodir=/usr/local/info") ;; Don't rebuild contributors.texi since we are not in
(string-append "infodir=" info-dir)) ;; the git repo.
;; Don't rebuild contributors.texi since we are not in (("contributors.texi: Makefile texinfo-tabulate.awk")
;; the git repo. "contributors.texi:"))
(("contributors.texi: Makefile texinfo-tabulate.awk") (invoke "make" "html/index.html")
"contributors.texi:")) (invoke "make" "sly.info")
(invoke "make" "html/index.html") ;; TODO: We need minimal texlive with "preprint" package
(invoke "make" "sly.info") ;; (for fullpage.sty). (invoke "make" "sly-refcard.pdf")
;; TODO: We need minimal texlive with "preprint" package (install-file "sly.info" info-dir)
;; (for fullpage.sty). (invoke "make" "sly-refcard.pdf") (copy-recursively "html" (string-append doc-dir "/html")))
(install-file "sly.info" info-dir) (for-each (lambda (f)
(copy-recursively "html" (string-append doc-dir "/html"))) (install-file f doc-dir)
(for-each (lambda (f) (delete-file f))
(install-file f doc-dir) doc-files)
(delete-file f)) (delete-file-recursively "doc")
doc-files) #t))))))
(delete-file-recursively "doc") (home-page "https://github.com/joaotavora/sly")
#t)))))) (synopsis "Sylvester the Cat's Common Lisp IDE")
(home-page "https://github.com/joaotavora/sly") (description
(synopsis "Sylvester the Cat's Common Lisp IDE") "SLY is Sylvester the Cat's Common Lisp IDE. SLY is a fork of SLIME, and
(description
"SLY is Sylvester the Cat's Common Lisp IDE. SLY is a fork of SLIME, and
contains the following improvements over it: contains the following improvements over it:
@enumerate @enumerate
@item Completely redesigned REPL based on Emacs's own full-featured @item A full-featured REPL based on Emacs's @code{comint.el}. Everything
@code{comint.el}. can be copied to the REPL;
@item Live code annotations via a new @code{sly-stickers} contrib. @item Stickers, or live code annotations that record values as code traverses them.
@item Consistent interactive button interface. Everything can be copied to @item Flex-style completion out-of-the-box, using Emacs's completion API.
the REPL. Company, Helm, and other supported natively, no plugin required;
@item Multiple inspectors with independent history. @item An interactive Trace Dialog;
@item Multiple inspectors and multiple REPLs, with independent history.
@item Regexp-capable @code{M-x sly-apropos}. @item Regexp-capable @code{M-x sly-apropos}.
@item Contribs are first class SLY citizens and enabled by default. @item Cleanly ASDF-loaded by default, including contribs, enabled out-of-the-box;
@item Use ASDF to loads contribs on demand. @item \"Presentations\" replaced by interactive backreferences, which
highlight the object and remain stable throughout the REPL session;
@end enumerate @end enumerate
SLY tracks SLIME's bugfixes and all its familiar features (debugger, inspector, SLY tracks SLIME's bugfixes and all its familiar features (debugger, inspector,
xref, etc...) are still available, but with better integration.") xref, etc.) are still available, but with better integration.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public emacs-sly-quicklisp (define-public emacs-sly-quicklisp
(let ((commit "01ebe3976a244309f2e277c09206831135a0b66c") (let ((commit "01ebe3976a244309f2e277c09206831135a0b66c")