BSD Ports

devel/hs-haskell-language-server 2.15.0.0 FreeBSD

LSP provider implementation for Haskell language

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
8bedd92100
License
APACHE20
Categories
devel, haskell
Package size
59064.1 KiB, 398974.8 KiB installed

Description

The haskell-language-server (HLS) project is an implementation of a server (a "language server") for the Language Server Protocol (LSP). A language server talks to a client (typically an editor), which can ask the server to perform various operations, such as reporting errors or providing code completions. The advantage of this system is that clients and servers can interoperate more easily so long as they all speak the LSP protocol. In the case of HLS, that means that it can be used with many different editors, since editor support for the LSP protocol is now widespread.

HLS is responsible for actually understanding your project and answering the questions that the client asks of it, such as: what completion items could go here? are there any errors in the project? and so on. HLS provides many (but not all) of the features that the LSP protocol supports.

But HLS only provides the server part of the setup. In order to actually use it you also need a client (editor). The client is responsible for managing your interaction with the server: launching it, dispatching commands to it, and displaying or implementing responses. Some clients will even install the server binaries for you!

In the other systems

SystemPortVersion
FreeBSDdevel/hs-haskell-language-server2.15.0.0
DragonFlydevel/hs-haskell-language-server2.9.0.1
HardenedBSDdevel/hs-haskell-language-server2.15.0.0
GhostBSDdevel/hs-haskell-language-server2.15.0.0

Install

Binary package:

pkg install hs-haskell-language-server

From the ports tree:

cd /usr/ports/devel/hs-haskell-language-server/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	hs-haskell-language-server>0:devel/hs-haskell-language-server

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.15.0.02.15.0.0---
FreeBSD:14:quarterly2.15.0.02.15.0.0n/a--
FreeBSD:15:latest2.15.0.02.15.0.0n/a--
FreeBSD:15:quarterly2.15.0.02.15.0.0n/an/an/a
FreeBSD:16:latest2.15.0.02.15.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
cabal
Service scripts
none
Flavors
hs-haskell-language-server-ghc98-2.15.0.0, hs-haskell-language-server-ghc910-2.15.0.0

Files

distinfo 379
FileSizeSHA256
cabal/haskell-language-server-2.15.0.0/haskell-language-server-2.15.0.0.tar.gz6353680ef0cd32616bdc3ff9524107b942aba9914b53bb7dcd7bf26c05a62831b3eabf
cabal/Cabal-3.14.2.0/Cabal-3.14.2.0.tar.gz475699a58ca2b17c250472ed4dac0ec0aa2c65173701cbfdfecca104713f73b4429432
cabal/Cabal-3.14.2.0/revision/2.cabal141485608a3091be7c029a3e8b2585ed51f41edd58effd1b51f3ad32504847e6f9753
cabal/Cabal-syntax-3.14.2.0/Cabal-syntax-3.14.2.0.tar.gz2451869d5f39eadafffc1906558486f612dc21d2921d6a749319accefff982e9ae5985
cabal/Cabal-syntax-3.14.2.0/revision/1.cabal76466653175960c346f01152223972a3292c56723c1bfab61f4603ca66cb264297b0
cabal/Diff-0.5/Diff-0.5.tar.gz912203cc84dedfb18fa693f0b0b7054d65e92c388d0657cf45ad5e9fbe3fe8b54551
cabal/Diff-0.5/revision/1.cabal18149c8a972eead9e079b90c6581fa8ef5755662c10dd075951b32b801145704afbb
cabal/Diff-1.0.2/Diff-1.0.2.tar.gz10936cd7e26d3d5ebf7f2c1a7525aebe251fbcbffee2a6362db634b4be23b9e354d85
cabal/Glob-0.10.2/Glob-0.10.2.tar.gz302266af672ac8427d35cbd42d64142dc288feab266f0be92dae3c696e8860d8173c0
cabal/Glob-0.10.2/revision/3.cabal2938dd2ddbecae8f84e8f4cacb5b856901a19c25ceaa11f2525d3ee88d034acb0081
cabal/HTTP-4000.5.0/HTTP-4000.5.0.tar.gz74342d2a33bc281327d8f20afee18287c2e3f923f0cd86bac40dcba120ca3d2014f9b
cabal/HTTP-4000.5.0/revision/1.cabal57864cf03628597ffc2f3760e3da25dee116a64cfea26013d75dc386c98aecea5f6e
cabal/HsYAML-0.2.1.6/HsYAML-0.2.1.6.tar.gz84164ba009b2af9827399d4a48720cd3a803da3b5d3f33a7145fa5b81b9db6d914d8d
cabal/HsYAML-aeson-0.2.0.2/HsYAML-aeson-0.2.0.2.tar.gz12014ca6e0aedd902a807b0deb5df297b1668686416e06317b7de992fbdf56673c989
cabal/ListLike-4.7.8.4/ListLike-4.7.8.4.tar.gz333813bc7e503c204990b47cf977b9ffa498c564086165fba4700512afc6b5e3c69c4
cabal/MemoTrie-0.6.11/MemoTrie-0.6.11.tar.gz8369f7a6abf136eac1c6b370678e14e9519ed88c0c2adf75f06d6855b464db0c2420
cabal/OneTuple-0.4.3/OneTuple-0.4.3.tar.gz5299643d1f48e63480ac6d03a8f0ab5976d66527c9b42b1fca81d1bf373d10099c6b
cabal/Only-0.1/Only-0.1.tar.gz1960ab7aa193e8c257d3bda6b0b3c1cbcf74cdaa85ab08cb20c2dd62ba248c1ab265
cabal/Only-0.1/revision/2.cabal1398c6033d181e0f802e9e8543f683fa9c50aeb01cfdf6c83cd5bb72fb47aa863b07
cabal/QuickCheck-2.18.0.0/QuickCheck-2.18.0.0.tar.gz90712fd8462ad3b1c3bb90465ec581356cf5214673c1015d73f28f2e7a3df179bbc55

Commit history 4

DateCommitCreditsLog message
8bedd92100 Älven devel/hs-haskell-language-server: Update 2.14.0.0 => 2.15.0.0
* Add WWW for Hackage package * Remove NOT_FOR_ARCHS= i386 as lang/ghc* is 64-bit only anyway Approved by: haskell@ (alven@)
fa873ef31b Älven devel/hs-haskell-language-server: Improve port
* Remove workaround for building ghc-lib-parser https://github.com/haskell/cabal/issues/10963 Approved by: haskell@ (alven@) Approved by: db@, yuri@ (Mentors, implicit)
d5bb625d34 Gleb Popov devel/hs-haskell-language-server: Deduplicate an entry in distinfo
It seems to confuse the arm64 builder somehow Reported by: pkg-fallout
6c95bd32f9 Gleb Popov devel/hs-haskell-language-server: Chase GHC upgrade
- Remove the ghc96 flavor - Refresh the default flavor which now represents GHC 9.12