packages: text-editors: Add kak-lsp

pull/3/head
Luis Guilherme Coelho 2024-03-29 14:32:47 -03:00
parent 6a43fc6a31
commit d27fce1e77
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
2 changed files with 1470 additions and 1 deletions

1239
radix/packages/crates-io.scm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,15 @@
(define-module (radix packages text-editors)
#:use-module (gnu packages text-editors)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-windows)
#:use-module (gnu packages crates-apple)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system trivial)
#:use-module (guix gexp))
#:use-module (guix build-system cargo)
#:use-module (radix packages crates-io)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:))
(define-public kakoune
(let ((base (@@ (gnu packages text-editors) kakoune)))
@ -56,3 +63,226 @@
"text/x-tex"
"text/x-tex"
"text/xml")))))))))
;; Builds sucessfully on
;; guix 28bc0e8
;; repository URL: https://git.savannah.gnu.org/git/guix.git
;; branch: master
;; commit: 28bc0e870b4d48b8e3e773382bb0e999df2e3611
(define-public kak-lsp
(package
(name "kak-lsp")
(version "16.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kakoune-lsp/kakoune-lsp")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0wc8i0c8d8vaalz53azk7dkxc1asw5i4yzn75274pnr94vmdr13p"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
#:cargo-inputs
(("rust-adler32-1" ,rust-adler32-1)
("rust-aho-corasick-1" ,rust-aho-corasick-1)
("rust-android-system-properties-0.1" ,rust-android-system-properties-0.1)
("rust-android-tzdata-0.1" ,rust-android-tzdata-0.1)
("rust-anstream-0" ,rust-anstream-0.6)
("rust-anstyle-1" ,rust-anstyle-1)
("rust-anstyle-parse-0.2" ,rust-anstyle-parse-0.2)
("rust-anstyle-query-1" ,rust-anstyle-query-1)
("rust-anstyle-wincon-3" ,rust-anstyle-wincon-3)
("rust-arc-swap-1" ,rust-arc-swap-1)
("rust-atty-0.2" ,rust-atty-0.2)
("rust-autocfg-1" ,rust-autocfg-1)
("rust-bitflags-1" ,rust-bitflags-1)
("rust-bitflags-2" ,rust-bitflags-2)
("rust-bumpalo-3" ,rust-bumpalo-3)
("rust-cc-1" ,rust-cc-1)
("rust-cfg-if-1" ,rust-cfg-if-1)
("rust-chrono-0.4" ,rust-chrono-0.4)
("rust-clap-4" ,rust-clap-4)
("rust-clap-builder-4" ,rust-clap-builder-4)
("rust-clap-lex-0.6" ,rust-clap-lex-0.6)
("rust-colorchoice-1" ,rust-colorchoice-1)
("rust-core-foundation-sys-0.8" ,rust-core-foundation-sys-0.8)
("rust-crc32fast-1" ,rust-crc32fast-1)
("rust-crossbeam-channel-0.5" ,rust-crossbeam-channel-0.5)
("rust-crossbeam-utils-0.8" ,rust-crossbeam-utils-0.8)
("rust-daemonize-0.5" ,rust-daemonize-0.5)
("rust-deranged-0.3" ,rust-deranged-0.3)
("rust-diffs-0.5" ,rust-diffs-0.5)
("rust-dirs-5" ,rust-dirs-5)
("rust-dirs-next-2" ,rust-dirs-next-2)
("rust-dirs-sys-0.4" ,rust-dirs-sys-0.4)
("rust-dirs-sys-next-0.1" ,rust-dirs-sys-next-0.1)
("rust-either-1.9.0" ,rust-either-1)
("rust-enum-primitive-0.1" ,rust-enum-primitive-0.1)
("rust-equivalent-1" ,rust-equivalent-1)
("rust-errno-0.3" ,rust-errno-0.3)
("rust-field-offset-0.3" ,rust-field-offset-0.3)
("rust-file-id-0.2" ,rust-file-id-0.2)
("rust-filetime-0.2" ,rust-filetime-0.2)
("rust-form-urlencoded-1" ,rust-form-urlencoded-1)
("rust-fs4-0.7" ,rust-fs4-0.7)
("rust-fsevent-sys-4" ,rust-fsevent-sys-4)
("rust-futures-0.3" ,rust-futures-0.3)
("rust-futures-channel-0.3" ,rust-futures-channel-0.3)
("rust-futures-core-0.3" ,rust-futures-core-0.3)
("rust-futures-executor-0.3" ,rust-futures-executor-0.3)
("rust-futures-io-0.3" ,rust-futures-io-0.3)
("rust-futures-macro-0.3" ,rust-futures-macro-0.3)
("rust-futures-sink-0.3" ,rust-futures-sink-0.3)
("rust-futures-task-0.3" ,rust-futures-task-0.3)
("rust-futures-util-0.3" ,rust-futures-util-0.3)
("rust-getopts-0.2" ,rust-getopts-0.2)
("rust-getrandom-0.2" ,rust-getrandom-0.2)
("rust-glob-0.3" ,rust-glob-0.3)
("rust-hashbrown-0.14" ,rust-hashbrown-0.14)
("rust-hermit-abi-0.1" ,rust-hermit-abi-0.1)
("rust-iana-time-zone-0.1" ,rust-iana-time-zone-0.1)
("rust-iana-time-zone-haiku-0.1" ,rust-iana-time-zone-haiku-0.1)
("rust-idna-0.5" ,rust-idna-0.5)
("rust-indexmap-2" ,rust-indexmap-2)
("rust-indoc-2" ,rust-indoc-2)
("rust-inotify-0.9" ,rust-inotify-0.9)
("rust-inotify-sys-0.1" ,rust-inotify-sys-0.1)
("rust-itertools-0.12" ,rust-itertools-0.12)
("rust-itoa-1" ,rust-itoa-1)
("rust-js-sys-0.3" ,rust-js-sys-0.3)
("rust-jsonrpc-core-18" ,rust-jsonrpc-core-18)
("rust-kqueue-1" ,rust-kqueue-1)
("rust-kqueue-sys-1" ,rust-kqueue-sys-1)
("rust-lazy-static-1" ,rust-lazy-static-1)
("rust-libc-0.2" ,rust-libc-0.2)
("rust-libflate-1" ,rust-libflate-1)
("rust-libflate-lz77-1" ,rust-libflate-lz77-1)
("rust-libredox-0.0.1" ,rust-libredox-0.0.1)
("rust-linux-raw-sys-0.4" ,rust-linux-raw-sys-0.4)
("rust-lock-api-0.4" ,rust-lock-api-0.4)
("rust-log-0.4" ,rust-log-0.4)
("rust-lsp-types-0.95" ,rust-lsp-types-0.95)
("rust-memchr-2" ,rust-memchr-2)
("rust-memoffset-0.9" ,rust-memoffset-0.9)
("rust-mio-0.8" ,rust-mio-0.8)
("rust-notify-6" ,rust-notify-6)
("rust-notify-debouncer-full-0.3" ,rust-notify-debouncer-full-0.3)
("rust-num-threads-0.1" ,rust-num-threads-0.1)
("rust-num-traits-0.1" ,rust-num-traits-0.1)
("rust-num-traits-0.2" ,rust-num-traits-0.2)
("rust-once-cell-1" ,rust-once-cell-1)
("rust-option-ext-0.2" ,rust-option-ext-0.2)
("rust-parking-lot-0.12" ,rust-parking-lot-0.12)
("rust-parking-lot-core-0.9" ,rust-parking-lot-core-0.9)
("rust-percent-encoding-2" ,rust-percent-encoding-2)
("rust-pin-project-lite-0.2" ,rust-pin-project-lite-0.2)
("rust-pin-utils-0.1" ,rust-pin-utils-0.1)
("rust-powerfmt-0.2" ,rust-powerfmt-0.2)
("rust-ppv-lite86-0.2" ,rust-ppv-lite86-0.2)
("rust-proc-macro2-1" ,rust-proc-macro2-1)
("rust-pulldown-cmark-0.9" ,rust-pulldown-cmark-0.9)
("rust-quote-1" ,rust-quote-1)
("rust-rand-0.8" ,rust-rand-0.8)
("rust-rand-chacha-0.3" ,rust-rand-chacha-0.3)
("rust-rand-core-0.6" ,rust-rand-core-0.6)
("rust-redox-syscall-0.4" ,rust-redox-syscall-0.4)
("rust-redox-users-0.4" ,rust-redox-users-0.4)
("rust-regex-1" ,rust-regex-1)
("rust-regex-automata-0.4" ,rust-regex-automata-0.4)
("rust-regex-syntax-0.8" ,rust-regex-syntax-0.8)
("rust-rle-decode-fast-1" ,rust-rle-decode-fast-1)
("rust-ropey-1" ,rust-ropey-1)
("rust-rustc-version-0.4" ,rust-rustc-version-0.4)
("rust-rustix-0.38" ,rust-rustix-0.38)
("rust-rustversion-1" ,rust-rustversion-1)
("rust-ryu-1" ,rust-ryu-1)
("rust-same-file-1" ,rust-same-file-1)
("rust-scopeguard-1" ,rust-scopeguard-1)
("rust-semver-1" ,rust-semver-1)
("rust-serde-1" ,rust-serde-1)
("rust-serde-derive-1" ,rust-serde-derive-1)
("rust-serde-json-1" ,rust-serde-json-1)
("rust-serde-repr-0.1" ,rust-serde-repr-0.1)
("rust-serde-spanned-0.6" ,rust-serde-spanned-0.6)
("rust-slab-0.4" ,rust-slab-0.4)
("rust-slog-2" ,rust-slog-2)
("rust-slog-async-2" ,rust-slog-async-2)
("rust-slog-kvfilter-0.7" ,rust-slog-kvfilter-0.7)
("rust-slog-scope-4" ,rust-slog-scope-4)
("rust-slog-stdlog-4" ,rust-slog-stdlog-4)
("rust-slog-term-2" ,rust-slog-term-2)
("rust-sloggers-2" ,rust-sloggers-2)
("rust-smallvec-1" ,rust-smallvec-1)
("rust-str-indices-0.4" ,rust-str-indices-0.4)
("rust-strsim-0.10" ,rust-strsim-0.10)
("rust-syn-1" ,rust-syn-1)
("rust-syn-2.0.43" ,rust-syn-2)
("rust-take-mut-0.2" ,rust-take-mut-0.2)
("rust-term-0.7" ,rust-term-0.7)
("rust-thiserror-1" ,rust-thiserror-1)
("rust-thiserror-impl-1" ,rust-thiserror-impl-1)
("rust-thread-local-1" ,rust-thread-local-1)
("rust-time-0.3" ,rust-time-0.3)
("rust-time-core-0.1" ,rust-time-core-0.1)
("rust-time-macros-0.2" ,rust-time-macros-0.2)
("rust-tinyvec-1" ,rust-tinyvec-1)
("rust-tinyvec-macros-0.1" ,rust-tinyvec-macros-0.1)
("rust-toml-0.8" ,rust-toml-0.8)
("rust-toml-datetime-0.6" ,rust-toml-datetime-0.6)
("rust-toml-edit-0.21" ,rust-toml-edit-0.21)
("rust-trackable-1" ,rust-trackable-1)
("rust-trackable-derive-1" ,rust-trackable-derive-1)
("rust-unicase-2" ,rust-unicase-2)
("rust-unicode-bidi-0.3" ,rust-unicode-bidi-0.3)
("rust-unicode-ident-1" ,rust-unicode-ident-1)
("rust-unicode-normalization-0.1" ,rust-unicode-normalization-0.1)
("rust-unicode-width-0.1" ,rust-unicode-width-0.1)
("rust-unindent-0.2" ,rust-unindent-0.2)
("rust-url-2" ,rust-url-2)
("rust-utf8parse-0.2" ,rust-utf8parse-0.2)
("rust-version-check-0.9" ,rust-version-check-0.9)
("rust-walkdir-2" ,rust-walkdir-2)
("rust-wasi-0.11" ,rust-wasi-0.11)
("rust-wasm-bindgen-0.2" ,rust-wasm-bindgen-0.2)
("rust-wasm-bindgen-backend-0.2" ,rust-wasm-bindgen-backend-0.2)
("rust-wasm-bindgen-macro-0.2" ,rust-wasm-bindgen-macro-0.2)
("rust-wasm-bindgen-macro-support-0.2" ,rust-wasm-bindgen-macro-support-0.2)
("rust-wasm-bindgen-shared-0.2" ,rust-wasm-bindgen-shared-0.2)
("rust-web-sys-0.3" ,rust-web-sys-0.3)
("rust-whoami-1" ,rust-whoami-1)
("rust-widestring-0.4" ,rust-widestring-0.4)
("rust-winapi-0.3" ,rust-winapi-0.3)
("rust-winapi-i686-pc-windows-gnu-0.4" ,rust-winapi-i686-pc-windows-gnu-0.4)
("rust-winapi-util-0.1" ,rust-winapi-util-0.1)
("rust-winapi-x86-64-pc-windows-gnu-0.4" ,rust-winapi-x86-64-pc-windows-gnu-0.4)
("rust-windows-aarch64-gnullvm-0.48" ,rust-windows-aarch64-gnullvm-0.48)
("rust-windows-aarch64-gnullvm-0.52" ,rust-windows-aarch64-gnullvm-0.52)
("rust-windows-aarch64-msvc-0.48" ,rust-windows-aarch64-msvc-0.48)
("rust-windows-aarch64-msvc-0.52" ,rust-windows-aarch64-msvc-0.52)
("rust-windows-acl-0.3" ,rust-windows-acl-0.3)
("rust-windows-core-0.51" ,rust-windows-core-0.51)
("rust-windows-i686-gnu-0.48" ,rust-windows-i686-gnu-0.48)
("rust-windows-i686-gnu-0.52" ,rust-windows-i686-gnu-0.52)
("rust-windows-i686-msvc-0.48" ,rust-windows-i686-msvc-0.48)
("rust-windows-i686-msvc-0.52" ,rust-windows-i686-msvc-0.52)
("rust-windows-sys-0.48" ,rust-windows-sys-0.48)
("rust-windows-sys-0.52" ,rust-windows-sys-0.52)
("rust-windows-targets-0.48" ,rust-windows-targets-0.48)
("rust-windows-targets-0.52" ,rust-windows-targets-0.52)
("rust-windows-x86-64-gnu-0.48" ,rust-windows-x86-64-gnu-0.48)
("rust-windows-x86-64-gnu-0.52" ,rust-windows-x86-64-gnu-0.52)
("rust-windows-x86-64-gnullvm-0.48" ,rust-windows-x86-64-gnullvm-0.48)
("rust-windows-x86-64-gnullvm-0.52" ,rust-windows-x86-64-gnullvm-0.52)
("rust-windows-x86-64-msvc-0.48" ,rust-windows-x86-64-msvc-0.48)
("rust-windows-x86-64-msvc-0.52" ,rust-windows-x86-64-msvc-0.52)
("rust-winnow-0.5" ,rust-winnow-0.5))))
(home-page "https://github.com/kakoune-lsp/kakoune-lsp")
(synopsis "Kakoune Language Server Protocol Client.")
(description "Kakoune-lsp is a Language Server Protocol Client for the Kakoune
editor.")
(license (list license:expat
license:unlicense))))