name:           dhall-lsp-server
Version:        1.0.16
x-revision: 1
cabal-version:  1.12
synopsis:       Language Server Protocol (LSP) server for Dhall
homepage:       https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme
bug-reports:    https://github.com/dhall-lang/dhall-haskell/issues
author:         panaeon
maintainer:     Gabriel Gonzalez
copyright:      2019 panaeon
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    tests/fixtures/completion/*.dhall
    tests/fixtures/diagnostics/*.dhall
    tests/fixtures/linting/*.dhall
    tests/fixtures/hovering/*.dhall

source-repository head
  type: git
  location: https://github.com/dhall-lang/dhall-haskell

library
  exposed-modules:
      Dhall.LSP.Backend.Completion
      Dhall.LSP.Backend.Dhall
      Dhall.LSP.Backend.Diagnostics
      Dhall.LSP.Backend.Freezing
      Dhall.LSP.Backend.Formatting
      Dhall.LSP.Backend.Linting
      Dhall.LSP.Backend.Parsing
      Dhall.LSP.Backend.ToJSON
      Dhall.LSP.Backend.Typing
      Dhall.LSP.Handlers
      Dhall.LSP.Server
      Dhall.LSP.State
  other-modules:
      Paths_dhall_lsp_server
      Dhall.LSP.Util
  hs-source-dirs:
      src
  default-extensions: RecordWildCards OverloadedStrings
  build-depends:
      aeson                >= 1.3.1.1  && < 1.6
    , aeson-pretty         >= 0.8.7    && < 0.9
    , base                 >= 4.11     && < 5
    , bytestring           >= 0.10.8.2 && < 0.12
    , containers           >= 0.5.11.0 && < 0.7
    , data-default         >= 0.7.1.1  && < 0.8
    , directory            >= 1.2.2.0  && < 1.4
    , dhall                >= 1.38.0   && < 1.41
    , dhall-json           >= 1.4      && < 1.8
    , filepath             >= 1.4.2    && < 1.5
    , haskell-lsp          >= 0.19.0.0 && < 0.25
    , rope-utf16-splay     >= 0.3.1.0  && < 0.4
    , hslogger             >= 1.2.10   && < 1.4
    , lens                 >= 4.16.1   && < 5.1
    , megaparsec           >= 7.0.2    && < 9.3
    , mtl                  >= 2.2.2    && < 2.3
    , network-uri          >= 2.6.1.0  && < 2.7
    , prettyprinter        >= 1.5.1    && < 1.8
    , text                 >= 1.2.3.0  && < 1.3
    , transformers         >= 0.5.5.0  && < 0.6
    , unordered-containers >= 0.2.9.0  && < 0.3
    , uri-encode           >= 1.5.0.5  && < 1.6
  default-language: Haskell2010
  GHC-Options: -Wall -fwarn-incomplete-uni-patterns

executable dhall-lsp-server
  main-is: Main.hs
  other-modules:
      Paths_dhall_lsp_server
  hs-source-dirs:
      app
  default-extensions: RecordWildCards OverloadedStrings
  ghc-options: -rtsopts
  build-depends:
      base
    , dhall-lsp-server
    , optparse-applicative
  default-language: Haskell2010
  GHC-Options: -Wall -fwarn-incomplete-uni-patterns

Test-Suite doctest
    Type: exitcode-stdio-1.0
    Hs-Source-Dirs: doctest
    Main-Is: Main.hs
    GHC-Options: -Wall
    Build-Depends:
        base                           ,
        directory  >= 1.3.1.5 && < 1.4 ,
        filepath                 < 1.5 ,
        doctest    >= 0.7.0   && < 0.19,
        QuickCheck
    Other-Extensions: OverloadedStrings RecordWildCards
    Default-Language: Haskell2010

Test-Suite tests
    Type: exitcode-stdio-1.0
    Hs-Source-Dirs: tests
    Main-Is: Main.hs
    GHC-Options: -Wall
    Build-Depends:
        base                                   ,
        haskell-lsp-types >= 0.19.0  && < 0.25 ,
        hspec             >= 2.7     && < 2.9  ,
        lsp-test          >= 0.9     && < 0.13 ,
        tasty             >= 0.11.2  && < 1.5  ,
        tasty-hspec       >= 1.1     && < 1.3  ,
        text              >= 0.11    && < 1.3
    Build-Tool-Depends: dhall-lsp-server:dhall-lsp-server
    Default-Language: Haskell2010