645b71d6b3
* Functional tests setup for the LSP server * Add nix derivation for lsp-test-0.6.1.0 * Register fixture files * Enable functional tests on appveyor * Attempt to fix Position errors * Fix `dhall-lsp-server` to specify a UTF8 locale Related to https://github.com/dhall-lang/dhall-haskell/issues/1356#issuecomment-536840612 * Specify utf8 encoding for tests * Add test for hovering functionality * Add glob to list fixture files * Remove extra do
25 lines
985 B
Nix
25 lines
985 B
Nix
{ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
|
|
, bytestring, conduit, conduit-parse, containers, data-default
|
|
, Diff, directory, filepath, haskell-lsp, hspec, lens, mtl
|
|
, parser-combinators, process, rope-utf16-splay, stdenv, text
|
|
, transformers, unix, unordered-containers
|
|
}:
|
|
mkDerivation {
|
|
pname = "lsp-test";
|
|
version = "0.6.1.0";
|
|
sha256 = "d15103bc8c84f74ff90220b66cacebe4bcd135ef1e31ddd10c808a94484db7a4";
|
|
libraryHaskellDepends = [
|
|
aeson aeson-pretty ansi-terminal async base bytestring conduit
|
|
conduit-parse containers data-default Diff directory filepath
|
|
haskell-lsp lens mtl parser-combinators process rope-utf16-splay
|
|
text transformers unix unordered-containers
|
|
];
|
|
testHaskellDepends = [
|
|
aeson base data-default haskell-lsp hspec lens text
|
|
unordered-containers
|
|
];
|
|
homepage = "https://github.com/bubba/lsp-test#readme";
|
|
description = "Functional test framework for LSP servers";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
}
|