nixpkgs/pkgs/development/tools/haskell/haskell-language-server/default.nix
2021-01-23 20:30:03 +07:00

54 lines
2.4 KiB
Nix

{ mkDerivation, aeson, base, binary, blaze-markup, brittany
, bytestring, containers, data-default, deepseq, directory, extra
, fetchgit, filepath, floskell, fourmolu, ghc, ghc-boot-th
, ghc-paths, ghcide, gitrev, hashable, haskell-lsp, hie-bios
, hls-class-plugin, hls-eval-plugin, hls-explicit-imports-plugin
, hls-hlint-plugin, hls-plugin-api, hls-retrie-plugin
, hls-tactics-plugin, hslogger, hspec, hspec-core
, hspec-expectations, lens, lsp-test, mtl, optparse-applicative
, optparse-simple, ormolu, process, regex-tdfa, safe-exceptions
, shake, lib, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml
, tasty-expected-failure, tasty-golden, tasty-hunit, tasty-rerun
, temporary, text, transformers, unordered-containers, with-utf8
, yaml
}:
mkDerivation {
pname = "haskell-language-server";
version = "0.8.0.0";
src = fetchgit {
url = "https://github.com/haskell/haskell-language-server.git";
sha256 = "0p6fqs07lajbi2g1wf4w3j5lvwknnk58n12vlg48cs4iz25gp588";
rev = "eb58f13f7b8e4f9bc771af30ff9fd82dc4309ff5";
fetchSubmodules = true;
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base containers data-default directory extra filepath ghc ghcide
gitrev haskell-lsp hls-plugin-api hslogger optparse-applicative
optparse-simple process shake text unordered-containers
];
executableHaskellDepends = [
aeson base binary brittany bytestring containers deepseq directory
extra filepath floskell fourmolu ghc ghc-boot-th ghc-paths ghcide
gitrev hashable haskell-lsp hie-bios hls-class-plugin
hls-eval-plugin hls-explicit-imports-plugin hls-hlint-plugin
hls-plugin-api hls-retrie-plugin hls-tactics-plugin hslogger lens
mtl optparse-applicative optparse-simple ormolu process regex-tdfa
safe-exceptions shake stylish-haskell temporary text transformers
unordered-containers with-utf8
];
testHaskellDepends = [
aeson base blaze-markup bytestring containers data-default
directory extra filepath haskell-lsp hie-bios hls-plugin-api
hslogger hspec hspec-core hspec-expectations lens lsp-test process
stm tasty tasty-ant-xml tasty-expected-failure tasty-golden
tasty-hunit tasty-rerun temporary text transformers
unordered-containers yaml
];
testToolDepends = [ ghcide ];
homepage = "https://github.com/haskell/haskell-language-server#readme";
description = "LSP server for GHC";
license = lib.licenses.asl20;
}