forked from mirrors/nixpkgs
24 lines
982 B
Nix
24 lines
982 B
Nix
{ mkDerivation, aeson, base, containers, deepseq, directory, extra
|
|
, fetchgit, ghc, ghcide, hashable, haskell-lsp, haskell-lsp-types
|
|
, hls-plugin-api, retrie, safe-exceptions, shake, stdenv, text
|
|
, transformers, unordered-containers
|
|
}:
|
|
mkDerivation {
|
|
pname = "hls-retrie-plugin";
|
|
version = "0.1.0.0";
|
|
src = fetchgit {
|
|
url = "https://github.com/haskell/haskell-language-server.git";
|
|
sha256 = "0p6fqs07lajbi2g1wf4w3j5lvwknnk58n12vlg48cs4iz25gp588";
|
|
rev = "eb58f13f7b8e4f9bc771af30ff9fd82dc4309ff5";
|
|
fetchSubmodules = true;
|
|
};
|
|
postUnpack = "sourceRoot+=/plugins/hls-retrie-plugin; echo source root reset to $sourceRoot";
|
|
libraryHaskellDepends = [
|
|
aeson base containers deepseq directory extra ghc ghcide hashable
|
|
haskell-lsp haskell-lsp-types hls-plugin-api retrie safe-exceptions
|
|
shake text transformers unordered-containers
|
|
];
|
|
description = "Retrie integration plugin for Haskell Language Server";
|
|
license = stdenv.lib.licenses.asl20;
|
|
}
|