packages feed

hls-eval-plugin-1.1.1.0: hls-eval-plugin.cabal

cabal-version:      2.4
name:               hls-eval-plugin
version:            1.1.1.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
  test/testdata/*.cabal
  test/testdata/*.hs
  test/testdata/*.lhs
  test/testdata/*.yaml
  test/testdata/cabal.project

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
    Ide.Plugin.Eval.Types

  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.Util

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

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

  if flag(pedantic)
    ghc-options: -Werror

  default-language:   Haskell2010
  default-extensions:
    DataKinds
    TypeOperators

test-suite tests
  type:             exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs:   test
  main-is:          Main.hs
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:
    , aeson
    , base
    , directory
    , extra
    , filepath
    , hls-eval-plugin
    , hls-test-utils   ^>=1.0
    , lens
    , lsp-types