packages feed

haskell-lsp-client-1.0.0.0: haskell-lsp-client.cabal

name:           haskell-lsp-client
version:        1.0.0.0
synopsis:       A haskell package to build your own Language Server client.
category:       Language, Protocol, Development
homepage:       https://github.com/noughtmare/haskell-lsp-client#readme
author:         Jaro Reinders
maintainer:     jaro.reinders@gmail.com
description:
  This package is intended for developers of text editors who want to make their text editor
  compatible with the <https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md Language Server Protocol>.
  
  I have developed this package with plans to integrate it in the <https://github.com/yi-editor/yi Yi Editor>.
copyright:      2017 Jaro Reinders
license:        GPL-2
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    README.md

library
  hs-source-dirs:
      src
  build-depends:
      base >= 4.7 && < 5
    , haskell-lsp >= 0.2
    , text
    , aeson
    , lens
    , bytestring
    , process
    , containers
  exposed-modules:
      LSP.Client
  default-language: Haskell2010
  ghc-options: -Weverything

executable example-client
  main-is: Main.hs
  hs-source-dirs:
      example
  build-depends:
      base >= 4.7 && < 5
    , haskell-lsp
    , text
    , haskell-lsp-client
    , process
    , lens
    , directory
  if os(windows)
    build-depends:
        Win32
  else
    build-depends:
        unix
  other-modules:
      Compat
  default-language: Haskell2010
  ghc-options: -Weverything