packages feed

hls-eval-plugin-1.0.0.0: hls-eval-plugin.cabal

cabal-version:      2.2
name:               hls-eval-plugin
version:            1.0.0.0
synopsis:           Eval plugin for Haskell Language Server
description:        Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
category:           Development
bug-reports:        https://github.com/haskell/haskell-language-server/issues
license:            Apache-2.0
license-file:       LICENSE
author:             https://github.com/haskell/haskell-language-server/contributors
maintainer:         https://github.com/haskell/haskell-language-server/contributors

build-type:         Simple
extra-source-files:
  LICENSE
  README.md

flag pedantic
  description: Enable -Werror
  default:     False
  manual:      True

source-repository head
  type:     git
  location: https://github.com/haskell/haskell-language-server

library
  exposed-modules:  Ide.Plugin.Eval
  hs-source-dirs:   src
  other-modules:
    Ide.Plugin.Eval.Code
    Ide.Plugin.Eval.CodeLens
    Ide.Plugin.Eval.GHC
    Ide.Plugin.Eval.Parse.Comments
    Ide.Plugin.Eval.Parse.Option
    Ide.Plugin.Eval.Types
    Ide.Plugin.Eval.Util

  build-depends:
    , aeson
    , base                  >=4.12    && <5
    , containers
    , deepseq
    , Diff
    , directory
    , dlist
    , extra
    , filepath
    , ghc
    , ghc-boot-th
    , ghc-paths
    , ghcide                ^>= 1.0.0.0
    , hashable
    , lsp
    , lsp-types
    , hls-plugin-api        ^>= 1.0.0.0
    , lens
    , megaparsec            >=0.9
    , mtl
    , parser-combinators
    , pretty-simple
    , QuickCheck
    , safe-exceptions
    , shake
    , temporary
    , text
    , time
    , transformers
    , unordered-containers
    , unliftio

  ghc-options:      -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors

  if flag(pedantic)
    ghc-options: -Werror

  default-language: Haskell2010
  default-extensions: DataKinds, TypeOperators