mirror of
https://github.com/SqrtMinusOne/channel-q.git
synced 2025-12-10 11:43:03 +03:00
feat(texlab): add texlab
This commit is contained in:
parent
bf333136c9
commit
effc575846
2 changed files with 42 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ I'll probably push what I can upstream when I figure Guix out.
|
|||
| [[https://github.com/SqrtMinusOne/mpd-watcher][mpd-watcher]] | OK | |
|
||||
| [[https://github.com/risacher/sunwait][sunwait]] | OK | Version number |
|
||||
| [[https://github.com/deajan/osync][osync]] | Works | Requires shell commands as propagated-inputs |
|
||||
| [[https://github.com/latex-lsp/texlab/][texlab]] | Works | Installation from binaries |
|
||||
| [[https://github.com/tmux-python/tmuxp][tmuxp]] | Works | Tests fail |
|
||||
| [[https://starship.rs/][starship]] | Works | Tests fail |
|
||||
| [[https://github.com/gauteh/lieer][lieer]] | Works | Tests fail for dependencies |
|
||||
|
|
|
|||
41
texlab.scm
Normal file
41
texlab.scm
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
(define-module (texlab)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages gcc)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix packages)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (nonguix build-system binary))
|
||||
|
||||
(define-public texlab
|
||||
(package
|
||||
(name "texlab-bin")
|
||||
(version "3.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/latex-lsp/texlab/releases/download/v"
|
||||
version
|
||||
"/texlab-x86_64-linux.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"05wxf7w1kbapr81j0h23cdxvh71cz5bd2sprljxd629s6z33javw"))))
|
||||
(build-system binary-build-system)
|
||||
(arguments
|
||||
`(#:install-plan
|
||||
`(("texlab" "/bin/"))
|
||||
#:patchelf-plan
|
||||
`(("texlab" ("gcc:lib")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'unpack
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(invoke "tar" "-xvzf" (assoc-ref inputs "source")))))))
|
||||
(inputs
|
||||
`(("gcc:lib" ,gcc "lib")))
|
||||
(native-inputs
|
||||
`(("gzip" ,gzip)))
|
||||
(synopsis "An implementation of the Language Server Protocol for LaTeX ")
|
||||
(description "A cross-platform implementation of the Language Server Protocol providing rich cross-editing support for the LaTeX typesetting system. The server may be used with any editor that implements the Language Server Protocol.")
|
||||
(home-page "https://texlab.netlify.app/")
|
||||
(license license:gpl3)))
|
||||
Loading…
Add table
Reference in a new issue