kak-lsp: new recipe (#6801)

* kak-lsp: new recipe

* kak_lsp: move to app-editors

* kak_lsp: Add missing dependency on kakoune

* kak_lsp: fix DESCRIPTION

* kak_lsp: Add SUPPLEMENTS
This commit is contained in:
Tobias Kortkamp
2022-04-17 11:24:56 +00:00
committed by GitHub
parent 3680d726c9
commit 6232d36eaa
2 changed files with 474 additions and 0 deletions

View File

@@ -0,0 +1,450 @@
SUMMARY="Kakoune Language Server Protocol Client"
DESCRIPTION="Kak-lsp is a Language Server Protocol client for Kakoune implemented in Rust.
A Language Server Protocol (LSP) defines the protocol used between an editor or IDE and a \
language server that provides language features like auto complete, go to definition, find all \
references etc."
HOMEPAGE="https://github.com/kak-lsp/kak-lsp"
COPYRIGHT="2018 Ruslan Prokopchuk et al."
LICENSE="MIT
Unlicense"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="9bfc6394f59f081d4f154e2896fcd72055b9bace87195b97f989eb92f6cb685a"
SOURCE_FILENAME="kak-lsp-$portVersion.tar.gz"
SOURCE_DIR="kak-lsp-$portVersion"
SOURCE_URI_2="https://static.crates.io/crates/adler32/adler32-1.2.0.crate"
CHECKSUM_SHA256_2="aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
SOURCE_URI_3="https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate"
CHECKSUM_SHA256_3="1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
SOURCE_URI_4="https://static.crates.io/crates/ansi_term/ansi_term-0.11.0.crate"
CHECKSUM_SHA256_4="ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
SOURCE_URI_5="https://static.crates.io/crates/arc-swap/arc-swap-1.3.2.crate"
CHECKSUM_SHA256_5="b5ab7d9e73059c86c36473f459b52adbd99c3554a4fec492caef460806006f00"
SOURCE_URI_6="https://static.crates.io/crates/atty/atty-0.2.14.crate"
CHECKSUM_SHA256_6="d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
SOURCE_URI_7="https://static.crates.io/crates/autocfg/autocfg-1.0.1.crate"
CHECKSUM_SHA256_7="cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
SOURCE_URI_8="https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate"
CHECKSUM_SHA256_8="bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
SOURCE_URI_9="https://static.crates.io/crates/boxfnonce/boxfnonce-0.1.1.crate"
CHECKSUM_SHA256_9="5988cb1d626264ac94100be357308f29ff7cbdd3b36bda27f450a4ee3f713426"
SOURCE_URI_10="https://static.crates.io/crates/bumpalo/bumpalo-3.7.0.crate"
CHECKSUM_SHA256_10="9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631"
SOURCE_URI_11="https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate"
CHECKSUM_SHA256_11="4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
SOURCE_URI_12="https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate"
CHECKSUM_SHA256_12="baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
SOURCE_URI_13="https://static.crates.io/crates/chrono/chrono-0.4.19.crate"
CHECKSUM_SHA256_13="670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
SOURCE_URI_14="https://static.crates.io/crates/clap/clap-2.33.3.crate"
CHECKSUM_SHA256_14="37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
SOURCE_URI_15="https://static.crates.io/crates/crc32fast/crc32fast-1.2.1.crate"
CHECKSUM_SHA256_15="81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
SOURCE_URI_16="https://static.crates.io/crates/crossbeam-channel/crossbeam-channel-0.5.1.crate"
CHECKSUM_SHA256_16="06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
SOURCE_URI_17="https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.5.crate"
CHECKSUM_SHA256_17="d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
SOURCE_URI_18="https://static.crates.io/crates/daemonize/daemonize-0.4.1.crate"
CHECKSUM_SHA256_18="70c24513e34f53b640819f0ac9f705b673fcf4006d7aab8778bee72ebfc89815"
SOURCE_URI_19="https://static.crates.io/crates/dirs/dirs-2.0.2.crate"
CHECKSUM_SHA256_19="13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
SOURCE_URI_20="https://static.crates.io/crates/dirs-next/dirs-next-2.0.0.crate"
CHECKSUM_SHA256_20="b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
SOURCE_URI_21="https://static.crates.io/crates/dirs-sys/dirs-sys-0.3.6.crate"
CHECKSUM_SHA256_21="03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
SOURCE_URI_22="https://static.crates.io/crates/dirs-sys-next/dirs-sys-next-0.1.2.crate"
CHECKSUM_SHA256_22="4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
SOURCE_URI_23="https://static.crates.io/crates/either/either-1.6.1.crate"
CHECKSUM_SHA256_23="e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
SOURCE_URI_24="https://static.crates.io/crates/enum_primitive/enum_primitive-0.1.1.crate"
CHECKSUM_SHA256_24="be4551092f4d519593039259a9ed8daedf0da12e5109c5280338073eaeb81180"
SOURCE_URI_25="https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.0.1.crate"
CHECKSUM_SHA256_25="5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
SOURCE_URI_26="https://static.crates.io/crates/futures/futures-0.3.17.crate"
CHECKSUM_SHA256_26="a12aa0eb539080d55c3f2d45a67c3b58b6b0773c1a3ca2dfec66d58c97fd66ca"
SOURCE_URI_27="https://static.crates.io/crates/futures-channel/futures-channel-0.3.17.crate"
CHECKSUM_SHA256_27="5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888"
SOURCE_URI_28="https://static.crates.io/crates/futures-core/futures-core-0.3.17.crate"
CHECKSUM_SHA256_28="88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d"
SOURCE_URI_29="https://static.crates.io/crates/futures-executor/futures-executor-0.3.17.crate"
CHECKSUM_SHA256_29="45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c"
SOURCE_URI_30="https://static.crates.io/crates/futures-io/futures-io-0.3.17.crate"
CHECKSUM_SHA256_30="522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377"
SOURCE_URI_31="https://static.crates.io/crates/futures-macro/futures-macro-0.3.17.crate"
CHECKSUM_SHA256_31="18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb"
SOURCE_URI_32="https://static.crates.io/crates/futures-sink/futures-sink-0.3.17.crate"
CHECKSUM_SHA256_32="36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11"
SOURCE_URI_33="https://static.crates.io/crates/futures-task/futures-task-0.3.17.crate"
CHECKSUM_SHA256_33="1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99"
SOURCE_URI_34="https://static.crates.io/crates/futures-util/futures-util-0.3.17.crate"
CHECKSUM_SHA256_34="36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481"
SOURCE_URI_35="https://static.crates.io/crates/getopts/getopts-0.2.21.crate"
CHECKSUM_SHA256_35="14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
SOURCE_URI_36="https://static.crates.io/crates/getrandom/getrandom-0.2.3.crate"
CHECKSUM_SHA256_36="7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
SOURCE_URI_37="https://static.crates.io/crates/glob/glob-0.3.0.crate"
CHECKSUM_SHA256_37="9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
SOURCE_URI_38="https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate"
CHECKSUM_SHA256_38="62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
SOURCE_URI_39="https://static.crates.io/crates/idna/idna-0.2.3.crate"
CHECKSUM_SHA256_39="418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
SOURCE_URI_40="https://static.crates.io/crates/indoc/indoc-1.0.3.crate"
CHECKSUM_SHA256_40="e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136"
SOURCE_URI_41="https://static.crates.io/crates/itertools/itertools-0.10.1.crate"
CHECKSUM_SHA256_41="69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf"
SOURCE_URI_42="https://static.crates.io/crates/itoa/itoa-0.4.8.crate"
CHECKSUM_SHA256_42="b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
SOURCE_URI_43="https://static.crates.io/crates/js-sys/js-sys-0.3.54.crate"
CHECKSUM_SHA256_43="1866b355d9c878e5e607473cbe3f63282c0b7aad2db1dbebf55076c686918254"
SOURCE_URI_44="https://static.crates.io/crates/jsonrpc-core/jsonrpc-core-18.0.0.crate"
CHECKSUM_SHA256_44="14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb"
SOURCE_URI_45="https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate"
CHECKSUM_SHA256_45="e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
SOURCE_URI_46="https://static.crates.io/crates/libc/libc-0.2.101.crate"
CHECKSUM_SHA256_46="3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21"
SOURCE_URI_47="https://static.crates.io/crates/libflate/libflate-1.1.1.crate"
CHECKSUM_SHA256_47="16364af76ebb39b5869bb32c81fa93573267cd8c62bb3474e28d78fac3fb141e"
SOURCE_URI_48="https://static.crates.io/crates/libflate_lz77/libflate_lz77-1.1.0.crate"
CHECKSUM_SHA256_48="39a734c0493409afcd49deee13c006a04e3586b9761a03543c6272c9c51f2f5a"
SOURCE_URI_49="https://static.crates.io/crates/log/log-0.4.14.crate"
CHECKSUM_SHA256_49="51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
SOURCE_URI_50="https://static.crates.io/crates/lsp-types/lsp-types-0.91.1.crate"
CHECKSUM_SHA256_50="2368312c59425dd133cb9a327afee65be0a633a8ce471d248e2202a48f8f68ae"
SOURCE_URI_51="https://static.crates.io/crates/matches/matches-0.1.9.crate"
CHECKSUM_SHA256_51="a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
SOURCE_URI_52="https://static.crates.io/crates/memchr/memchr-2.4.1.crate"
CHECKSUM_SHA256_52="308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
SOURCE_URI_53="https://static.crates.io/crates/num-integer/num-integer-0.1.44.crate"
CHECKSUM_SHA256_53="d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
SOURCE_URI_54="https://static.crates.io/crates/num-traits/num-traits-0.1.43.crate"
CHECKSUM_SHA256_54="92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31"
SOURCE_URI_55="https://static.crates.io/crates/num-traits/num-traits-0.2.14.crate"
CHECKSUM_SHA256_55="9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
SOURCE_URI_56="https://static.crates.io/crates/once_cell/once_cell-1.8.0.crate"
CHECKSUM_SHA256_56="692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56"
SOURCE_URI_57="https://static.crates.io/crates/percent-encoding/percent-encoding-2.1.0.crate"
CHECKSUM_SHA256_57="d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
SOURCE_URI_58="https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.7.crate"
CHECKSUM_SHA256_58="8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
SOURCE_URI_59="https://static.crates.io/crates/pin-utils/pin-utils-0.1.0.crate"
CHECKSUM_SHA256_59="8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
SOURCE_URI_60="https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.10.crate"
CHECKSUM_SHA256_60="ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
SOURCE_URI_61="https://static.crates.io/crates/proc-macro-hack/proc-macro-hack-0.5.19.crate"
CHECKSUM_SHA256_61="dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
SOURCE_URI_62="https://static.crates.io/crates/proc-macro-nested/proc-macro-nested-0.1.7.crate"
CHECKSUM_SHA256_62="bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
SOURCE_URI_63="https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.29.crate"
CHECKSUM_SHA256_63="b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d"
SOURCE_URI_64="https://static.crates.io/crates/pulldown-cmark/pulldown-cmark-0.8.0.crate"
CHECKSUM_SHA256_64="ffade02495f22453cd593159ea2f59827aae7f53fa8323f756799b670881dcf8"
SOURCE_URI_65="https://static.crates.io/crates/quote/quote-1.0.9.crate"
CHECKSUM_SHA256_65="c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
SOURCE_URI_66="https://static.crates.io/crates/rand/rand-0.8.4.crate"
CHECKSUM_SHA256_66="2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
SOURCE_URI_67="https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate"
CHECKSUM_SHA256_67="e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
SOURCE_URI_68="https://static.crates.io/crates/rand_core/rand_core-0.6.3.crate"
CHECKSUM_SHA256_68="d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
SOURCE_URI_69="https://static.crates.io/crates/rand_hc/rand_hc-0.3.1.crate"
CHECKSUM_SHA256_69="d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
SOURCE_URI_70="https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.10.crate"
CHECKSUM_SHA256_70="8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
SOURCE_URI_71="https://static.crates.io/crates/redox_users/redox_users-0.4.0.crate"
CHECKSUM_SHA256_71="528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
SOURCE_URI_72="https://static.crates.io/crates/regex/regex-1.5.4.crate"
CHECKSUM_SHA256_72="d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
SOURCE_URI_73="https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.25.crate"
CHECKSUM_SHA256_73="f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
SOURCE_URI_74="https://static.crates.io/crates/rle-decode-fast/rle-decode-fast-1.0.1.crate"
CHECKSUM_SHA256_74="cabe4fa914dec5870285fa7f71f602645da47c486e68486d2b4ceb4a343e90ac"
SOURCE_URI_75="https://static.crates.io/crates/ropey/ropey-1.3.1.crate"
CHECKSUM_SHA256_75="9150aff6deb25b20ed110889f070a678bcd1033e46e5e9d6fb1abeab17947f28"
SOURCE_URI_76="https://static.crates.io/crates/rustversion/rustversion-1.0.5.crate"
CHECKSUM_SHA256_76="61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088"
SOURCE_URI_77="https://static.crates.io/crates/ryu/ryu-1.0.5.crate"
CHECKSUM_SHA256_77="71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
SOURCE_URI_78="https://static.crates.io/crates/serde/serde-1.0.130.crate"
CHECKSUM_SHA256_78="f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913"
SOURCE_URI_79="https://static.crates.io/crates/serde_derive/serde_derive-1.0.130.crate"
CHECKSUM_SHA256_79="d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b"
SOURCE_URI_80="https://static.crates.io/crates/serde_json/serde_json-1.0.67.crate"
CHECKSUM_SHA256_80="a7f9e390c27c3c0ce8bc5d725f6e4d30a29d26659494aa4b17535f7522c5c950"
SOURCE_URI_81="https://static.crates.io/crates/serde_repr/serde_repr-0.1.7.crate"
CHECKSUM_SHA256_81="98d0516900518c29efa217c298fa1f4e6c6ffc85ae29fd7f4ee48f176e1a9ed5"
SOURCE_URI_82="https://static.crates.io/crates/slab/slab-0.4.4.crate"
CHECKSUM_SHA256_82="c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590"
SOURCE_URI_83="https://static.crates.io/crates/slog/slog-2.7.0.crate"
CHECKSUM_SHA256_83="8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06"
SOURCE_URI_84="https://static.crates.io/crates/slog-async/slog-async-2.7.0.crate"
CHECKSUM_SHA256_84="766c59b252e62a34651412870ff55d8c4e6d04df19b43eecb2703e417b097ffe"
SOURCE_URI_85="https://static.crates.io/crates/slog-kvfilter/slog-kvfilter-0.7.0.crate"
CHECKSUM_SHA256_85="ae939ed7d169eed9699f4f5cd440f046f5dc5dfc27c19e3cd311619594c175e0"
SOURCE_URI_86="https://static.crates.io/crates/slog-scope/slog-scope-4.4.0.crate"
CHECKSUM_SHA256_86="2f95a4b4c3274cd2869549da82b57ccc930859bdbf5bcea0424bc5f140b3c786"
SOURCE_URI_87="https://static.crates.io/crates/slog-stdlog/slog-stdlog-4.1.0.crate"
CHECKSUM_SHA256_87="8228ab7302adbf4fcb37e66f3cda78003feb521e7fd9e3847ec117a7784d0f5a"
SOURCE_URI_88="https://static.crates.io/crates/slog-term/slog-term-2.8.0.crate"
CHECKSUM_SHA256_88="95c1e7e5aab61ced6006149ea772770b84a0d16ce0f7885def313e4829946d76"
SOURCE_URI_89="https://static.crates.io/crates/sloggers/sloggers-2.0.2.crate"
CHECKSUM_SHA256_89="1ffcb984e952de7fdb085aa7bebcd4575e9d0c79630640a359a38578f0c18fd3"
SOURCE_URI_90="https://static.crates.io/crates/smallvec/smallvec-1.6.1.crate"
CHECKSUM_SHA256_90="fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
SOURCE_URI_91="https://static.crates.io/crates/strsim/strsim-0.8.0.crate"
CHECKSUM_SHA256_91="8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
SOURCE_URI_92="https://static.crates.io/crates/syn/syn-1.0.76.crate"
CHECKSUM_SHA256_92="c6f107db402c2c2055242dbf4d2af0e69197202e9faacbef9571bbe47f5a1b84"
SOURCE_URI_93="https://static.crates.io/crates/take_mut/take_mut-0.2.2.crate"
CHECKSUM_SHA256_93="f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
SOURCE_URI_94="https://static.crates.io/crates/term/term-0.7.0.crate"
CHECKSUM_SHA256_94="c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
SOURCE_URI_95="https://static.crates.io/crates/textwrap/textwrap-0.11.0.crate"
CHECKSUM_SHA256_95="d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
SOURCE_URI_96="https://static.crates.io/crates/thread_local/thread_local-1.1.3.crate"
CHECKSUM_SHA256_96="8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd"
SOURCE_URI_97="https://static.crates.io/crates/time/time-0.1.43.crate"
CHECKSUM_SHA256_97="ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
SOURCE_URI_98="https://static.crates.io/crates/tinyvec/tinyvec-1.3.1.crate"
CHECKSUM_SHA256_98="848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338"
SOURCE_URI_99="https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.0.crate"
CHECKSUM_SHA256_99="cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
SOURCE_URI_100="https://static.crates.io/crates/toml/toml-0.5.8.crate"
CHECKSUM_SHA256_100="a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa"
SOURCE_URI_101="https://static.crates.io/crates/trackable/trackable-1.2.0.crate"
CHECKSUM_SHA256_101="017e2a1a93718e4e8386d037cfb8add78f1d690467f4350fb582f55af1203167"
SOURCE_URI_102="https://static.crates.io/crates/trackable_derive/trackable_derive-1.0.0.crate"
CHECKSUM_SHA256_102="ebeb235c5847e2f82cfe0f07eb971d1e5f6804b18dac2ae16349cc604380f82f"
SOURCE_URI_103="https://static.crates.io/crates/unicase/unicase-2.6.0.crate"
CHECKSUM_SHA256_103="50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
SOURCE_URI_104="https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.6.crate"
CHECKSUM_SHA256_104="246f4c42e67e7a4e3c6106ff716a5d067d4132a642840b242e357e468a2a0085"
SOURCE_URI_105="https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.19.crate"
CHECKSUM_SHA256_105="d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9"
SOURCE_URI_106="https://static.crates.io/crates/unicode-width/unicode-width-0.1.8.crate"
CHECKSUM_SHA256_106="9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
SOURCE_URI_107="https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.2.crate"
CHECKSUM_SHA256_107="8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
SOURCE_URI_108="https://static.crates.io/crates/unindent/unindent-0.1.7.crate"
CHECKSUM_SHA256_108="f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"
SOURCE_URI_109="https://static.crates.io/crates/url/url-2.2.2.crate"
CHECKSUM_SHA256_109="a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
SOURCE_URI_110="https://static.crates.io/crates/vec_map/vec_map-0.8.2.crate"
CHECKSUM_SHA256_110="f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
SOURCE_URI_111="https://static.crates.io/crates/version_check/version_check-0.9.3.crate"
CHECKSUM_SHA256_111="5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
SOURCE_URI_112="https://static.crates.io/crates/wasi/wasi-0.10.2+wasi-snapshot-preview1.crate"
CHECKSUM_SHA256_112="fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
SOURCE_URI_113="https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.77.crate"
CHECKSUM_SHA256_113="5e68338db6becec24d3c7977b5bf8a48be992c934b5d07177e3931f5dc9b076c"
SOURCE_URI_114="https://static.crates.io/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.77.crate"
CHECKSUM_SHA256_114="f34c405b4f0658583dba0c1c7c9b694f3cac32655db463b56c254a1c75269523"
SOURCE_URI_115="https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.77.crate"
CHECKSUM_SHA256_115="b9d5a6580be83b19dc570a8f9c324251687ab2184e57086f71625feb57ec77c8"
SOURCE_URI_116="https://static.crates.io/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.77.crate"
CHECKSUM_SHA256_116="e3775a030dc6f5a0afd8a84981a21cc92a781eb429acef9ecce476d0c9113e92"
SOURCE_URI_117="https://static.crates.io/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.77.crate"
CHECKSUM_SHA256_117="c279e376c7a8e8752a8f1eaa35b7b0bee6bb9fb0cdacfa97cc3f1f289c87e2b4"
SOURCE_URI_118="https://static.crates.io/crates/web-sys/web-sys-0.3.54.crate"
CHECKSUM_SHA256_118="0a84d70d1ec7d2da2d26a5bd78f4bca1b8c3254805363ce743b7a05bc30d195a"
SOURCE_URI_119="https://static.crates.io/crates/whoami/whoami-1.1.3.crate"
CHECKSUM_SHA256_119="f7741161a40200a867c96dfa5574544efa4178cf4c8f770b62dd1cc0362d7ae1"
SOURCE_URI_120="https://static.crates.io/crates/winapi/winapi-0.3.9.crate"
CHECKSUM_SHA256_120="5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
SOURCE_URI_121="https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate"
CHECKSUM_SHA256_121="ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
SOURCE_URI_122="https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate"
CHECKSUM_SHA256_122="712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
ARCHITECTURES="all !x86_gcc2"
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
SECONDARY_ARCHITECTURES="x86"
commandBinDir=$prefix/bin
fi
PROVIDES="
kak_lsp$secondaryArchSuffix = $portVersion
cmd:kak_lsp
"
REQUIRES="
haiku$secondaryArchSuffix
kakoune$secondaryArchSuffix
"
SUPPLEMENTS="
kakoune$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:rustc$secondaryArchSuffix >= 1.39.0
"
defineDebugInfoPackage kak_lsp$secondaryArchSuffix \
"$commandBinDir"/kak-lsp
BUILD()
{
export CARGO_HOME=$sourceDir/../cargo
vendor=$CARGO_HOME/haiku
mkdir -p "$vendor"
for i in $(seq 2 122); do
eval "srcDir=\$sourceDir$i"
eval "sha256sum=\$CHECKSUM_SHA256_$i"
set -- "$srcDir"/*
ln -sf "$1" "$vendor"
cat <<-EOF >"$vendor/${1##*/}/.cargo-checksum.json"
{
"package": "$sha256sum",
"files": {}
}
EOF
done
cat <<-EOF >"$CARGO_HOME"/config
[source.haiku]
directory = "$vendor"
[source.crates-io]
replace-with = "haiku"
EOF
cargo build --release --frozen
}
INSTALL()
{
install -m 755 -d "$commandBinDir" "$docDir"
install -m 755 target/release/kak-lsp "$commandBinDir"
install -m 644 README.asciidoc kak-lsp.toml "$docDir"
}
TEST()
{
export CARGO_HOME=$sourceDir/../cargo
cargo test --release --frozen
}

View File

@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>