2020-08-20 17:08:02 +00:00
|
|
|
{ mkDerivation, aeson, base, binary, blaze-markup, brittany
|
2020-10-11 12:50:04 +00:00
|
|
|
, bytestring, containers, data-default, deepseq, directory, extra
|
2020-11-15 13:44:38 +00:00
|
|
|
, fetchgit, filepath, floskell, fourmolu, ghc, ghc-boot-th
|
|
|
|
, ghc-paths, ghcide, gitrev, hashable, haskell-lsp, hie-bios
|
|
|
|
, hls-hlint-plugin, hls-plugin-api, hls-tactics-plugin, hslogger
|
2020-10-11 12:50:04 +00:00
|
|
|
, hspec, hspec-core, lens, lsp-test, mtl, optparse-applicative
|
2020-11-15 13:44:38 +00:00
|
|
|
, optparse-simple, ormolu, process, regex-tdfa, retrie
|
|
|
|
, safe-exceptions, shake, stdenv, stm, stylish-haskell, tasty
|
2020-10-11 12:50:04 +00:00
|
|
|
, tasty-ant-xml, tasty-expected-failure, tasty-golden, tasty-hunit
|
|
|
|
, tasty-rerun, temporary, text, time, transformers
|
|
|
|
, unordered-containers, yaml
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "haskell-language-server";
|
2020-11-15 13:44:38 +00:00
|
|
|
version = "0.6.0.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/haskell/haskell-language-server.git";
|
2020-11-15 13:44:38 +00:00
|
|
|
sha256 = "027fq6752024wzzq9izsilm5lkq9gmpxf82rixbimbijw0yk4pwj";
|
|
|
|
rev = "372a12e797069dc3ac4fa33dcaabe3b992999d7c";
|
2020-07-18 16:06:22 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
2020-10-11 12:50:04 +00:00
|
|
|
base containers data-default directory extra filepath ghc ghcide
|
|
|
|
gitrev haskell-lsp hie-bios hls-plugin-api hslogger
|
|
|
|
optparse-applicative optparse-simple process text
|
|
|
|
unordered-containers
|
2020-07-18 16:06:22 +00:00
|
|
|
];
|
|
|
|
executableHaskellDepends = [
|
2020-10-11 12:50:04 +00:00
|
|
|
aeson base binary brittany bytestring containers deepseq directory
|
2020-11-15 13:44:38 +00:00
|
|
|
extra filepath floskell fourmolu ghc ghc-boot-th ghc-paths ghcide
|
|
|
|
gitrev hashable haskell-lsp hie-bios hls-hlint-plugin
|
|
|
|
hls-plugin-api hls-tactics-plugin hslogger lens mtl
|
|
|
|
optparse-applicative optparse-simple ormolu process regex-tdfa
|
|
|
|
retrie safe-exceptions shake stylish-haskell temporary text time
|
|
|
|
transformers unordered-containers
|
2020-07-18 16:06:22 +00:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
|
|
|
aeson base blaze-markup bytestring containers data-default
|
2020-10-11 12:50:04 +00:00
|
|
|
directory extra filepath haskell-lsp hie-bios hls-plugin-api
|
|
|
|
hslogger hspec hspec-core lens lsp-test process stm tasty
|
|
|
|
tasty-ant-xml tasty-expected-failure tasty-golden tasty-hunit
|
|
|
|
tasty-rerun temporary text transformers unordered-containers yaml
|
2020-07-18 16:06:22 +00:00
|
|
|
];
|
|
|
|
testToolDepends = [ ghcide ];
|
|
|
|
homepage = "https://github.com/haskell/haskell-language-server#readme";
|
|
|
|
description = "LSP server for GHC";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
}
|