Archived
1
0
Fork 0

gnu: sbcl-slynk: Update to 1.0.43.

* gnu/packages/lisp-xyz.scm (sbcl-slynk): Update to 1.0.43.
We still use git-version because upstream did not push a Git tag.
This commit is contained in:
Pierre Neidhardt 2021-01-07 16:37:50 +01:00
parent e77bb9b54b
commit e53dcaefa3
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -782,79 +782,80 @@ antialiased TrueType font rendering using CLX and XRender extension.")
(sbcl-package->ecl-package sbcl-clx-truetype)) (sbcl-package->ecl-package sbcl-clx-truetype))
(define-public sbcl-slynk (define-public sbcl-slynk
(package (let ((commit "dffdf3caa12e964127d6eb45ba92ac0442cc5a48"))
(name "sbcl-slynk") (package
(version "1.0.42") (name "sbcl-slynk")
(source (version (git-version "1.0.43" "1" commit))
(origin (source
(method git-fetch) (origin
(uri (method git-fetch)
(git-reference (uri
(url "https://github.com/joaotavora/sly") (git-reference
(commit version))) (url "https://github.com/joaotavora/sly")
(sha256 (commit commit)))
(base32 "10l867c4hgcpiajcfkz9g9vabp7y4bcgy51la6n9pqxrlg1fs455")) (sha256
(file-name (git-file-name "slynk" version)) (base32 "0vv185gz3rkfng5y79dijfnc11p92qdz2kdza05avjbpqfs6l0zn"))
(modules '((guix build utils) (file-name (git-file-name "slynk" version))
(ice-9 ftw))) (modules '((guix build utils)
(snippet (ice-9 ftw)))
'(begin (snippet
;; Move the contribs into the main source directory for easier '(begin
;; access ;; Move the contribs into the main source directory for easier
(substitute* "slynk/slynk.asd" ;; access
(("\\.\\./contrib") (substitute* "slynk/slynk.asd"
"contrib")) (("\\.\\./contrib")
(rename-file "contrib" "slynk/contrib") "contrib"))
;; Move slynk's contents into the base directory for easier (rename-file "contrib" "slynk/contrib")
;; access ;; Move slynk's contents into the base directory for easier
(for-each (lambda (file) ;; access
(unless (string-prefix? "." file) (for-each (lambda (file)
(rename-file (string-append "slynk/" file) (unless (string-prefix? "." file)
(string-append "./" (basename file))))) (rename-file (string-append "slynk/" file)
(scandir "slynk")) (string-append "./" (basename file)))))
#t)))) (scandir "slynk"))
(build-system asdf-build-system/sbcl) #t))))
(outputs '("out" "image")) (build-system asdf-build-system/sbcl)
(arguments (outputs '("out" "image"))
`(#:tests? #f ; No test suite (arguments
#:asd-systems '("slynk" `(#:tests? #f ; No test suite
"slynk/arglists" #:asd-systems '("slynk"
"slynk/fancy-inspector" "slynk/arglists"
"slynk/package-fu" "slynk/fancy-inspector"
"slynk/mrepl" "slynk/package-fu"
"slynk/trace-dialog" "slynk/mrepl"
"slynk/profiler" "slynk/trace-dialog"
"slynk/stickers" "slynk/profiler"
"slynk/indentation" "slynk/stickers"
"slynk/retro") "slynk/indentation"
#:phases "slynk/retro")
(modify-phases %standard-phases #:phases
(add-after 'create-asdf-configuration 'build-image (modify-phases %standard-phases
(lambda* (#:key outputs #:allow-other-keys) (add-after 'create-asdf-configuration 'build-image
(build-image (string-append (lambda* (#:key outputs #:allow-other-keys)
(assoc-ref %outputs "image") (build-image (string-append
"/bin/slynk") (assoc-ref %outputs "image")
%outputs "/bin/slynk")
#:dependencies '("slynk" %outputs
"slynk/arglists" #:dependencies '("slynk"
"slynk/fancy-inspector" "slynk/arglists"
"slynk/package-fu" "slynk/fancy-inspector"
"slynk/mrepl" "slynk/package-fu"
"slynk/trace-dialog" "slynk/mrepl"
"slynk/profiler" "slynk/trace-dialog"
"slynk/stickers" "slynk/profiler"
"slynk/indentation" "slynk/stickers"
"slynk/retro")) "slynk/indentation"
#t))))) "slynk/retro"))
(synopsis "Common Lisp IDE for Emacs") #t)))))
(description "SLY is a fork of SLIME, an IDE backend for Common Lisp. (synopsis "Common Lisp IDE for Emacs")
(description "SLY is a fork of SLIME, an IDE backend for Common Lisp.
It also features a completely redesigned REPL based on Emacs's own It also features a completely redesigned REPL based on Emacs's own
full-featured @code{comint-mode}, live code annotations, and a consistent interactive full-featured @code{comint-mode}, live code annotations, and a consistent interactive
button interface. Everything can be copied to the REPL. One can create button interface. Everything can be copied to the REPL. One can create
multiple inspectors with independent history.") multiple inspectors with independent history.")
(home-page "https://github.com/joaotavora/sly") (home-page "https://github.com/joaotavora/sly")
(license license:public-domain) (license license:public-domain)
(properties `((cl-source-variant . ,(delay cl-slynk)))))) (properties `((cl-source-variant . ,(delay cl-slynk)))))))
(define-public cl-slynk (define-public cl-slynk
(sbcl-package->cl-source-package sbcl-slynk)) (sbcl-package->cl-source-package sbcl-slynk))