2020-06-25 13:23:09 +01:00
|
|
|
{ mkDerivation, aeson, async, base, base16-bytestring, binary
|
2020-07-14 22:05:38 +01:00
|
|
|
, blaze-markup, brittany, bytestring, cabal-helper, containers
|
|
|
|
, cryptohash-sha1, data-default, deepseq, Diff, directory, extra
|
|
|
|
, fetchgit, filepath, floskell, ghc, ghc-check, ghc-paths, ghcide
|
|
|
|
, gitrev, hashable, haskell-lsp, haskell-lsp-types, hie-bios
|
|
|
|
, hslogger, hspec, hspec-core, hspec-expectations, lens, lsp-test
|
|
|
|
, optparse-applicative, optparse-simple, ormolu, process
|
|
|
|
, regex-tdfa, safe-exceptions, shake, stdenv, stm, stylish-haskell
|
|
|
|
, tasty, tasty-ant-xml, tasty-expected-failure, tasty-golden
|
|
|
|
, tasty-hunit, tasty-rerun, text, time, transformers, unix
|
|
|
|
, unordered-containers, yaml
|
2020-06-25 13:23:09 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "haskell-language-server";
|
2020-07-14 22:05:38 +01:00
|
|
|
version = "0.2.0.0";
|
2020-06-25 13:23:09 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/haskell/haskell-language-server.git";
|
2020-07-14 22:05:38 +01:00
|
|
|
sha256 = "0nkfyb0zg57jwr2gry0f3fycvqvb4rkayx42m841dgd4phyvrfrq";
|
|
|
|
rev = "35205ee3f95a8fbb4ef9a4ae4d9d82ac3d36d3f0";
|
2020-06-25 13:23:09 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
2020-07-14 22:05:38 +01:00
|
|
|
aeson base binary brittany bytestring cabal-helper containers
|
2020-06-25 13:23:09 +01:00
|
|
|
data-default deepseq Diff directory extra filepath floskell ghc
|
|
|
|
ghcide gitrev hashable haskell-lsp hie-bios hslogger lens
|
|
|
|
optparse-simple ormolu process regex-tdfa shake stylish-haskell
|
|
|
|
text transformers unix unordered-containers
|
|
|
|
];
|
|
|
|
executableHaskellDepends = [
|
|
|
|
aeson async base base16-bytestring binary bytestring containers
|
|
|
|
cryptohash-sha1 data-default deepseq directory extra filepath ghc
|
|
|
|
ghc-check ghc-paths ghcide gitrev hashable haskell-lsp hie-bios
|
|
|
|
hslogger optparse-applicative process safe-exceptions shake text
|
|
|
|
time unordered-containers
|
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
|
|
|
aeson base blaze-markup bytestring containers data-default
|
|
|
|
directory filepath haskell-lsp haskell-lsp-types hie-bios hslogger
|
|
|
|
hspec hspec-core hspec-expectations lens lsp-test stm tasty
|
|
|
|
tasty-ant-xml tasty-expected-failure tasty-golden tasty-hunit
|
|
|
|
tasty-rerun text unordered-containers yaml
|
|
|
|
];
|
|
|
|
testToolDepends = [ ghcide ];
|
|
|
|
homepage = "https://github.com/haskell/haskell-language-server#readme";
|
|
|
|
description = "LSP server for GHC";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
}
|