|
| 1 | +cabal-version: 2.4 |
| 2 | +name: haskell-src |
| 3 | +-- don't forget to update the changelog.md! |
| 4 | +version: 1.0.3.1 |
| 5 | +x-revision: 4 |
| 6 | + |
| 7 | +license: BSD-3-Clause |
| 8 | +license-file: LICENSE |
| 9 | +author: Simon Marlow, Sven Panne and Noel Winstanley |
| 10 | +-- Maintained through https://github.com/haskell-pkg-janitors. Join us! |
| 11 | +maintainer: Herbert Valerio Riedel < [email protected]> |
| 12 | +bug-reports: https://github.com/haskell-pkg-janitors/haskell-src/issues |
| 13 | +category: Language |
| 14 | +synopsis: Support for manipulating Haskell source code |
| 15 | +description: |
| 16 | + The @haskell-src@ package provides support for manipulating Haskell |
| 17 | + source code. The package provides a lexer, parser and |
| 18 | + pretty-printer, and a definition of a Haskell abstract syntax tree |
| 19 | + (AST). Common uses of this package are to parse or generate |
| 20 | + <http://www.haskell.org/onlinereport/ Haskell 98> code |
| 21 | + |
| 22 | +tested-with: |
| 23 | + GHC == 9.0.1 |
| 24 | + GHC == 8.10.4 |
| 25 | + GHC == 8.8.4 |
| 26 | + |
| 27 | +extra-source-files: changelog.md |
| 28 | + |
| 29 | +source-repository head |
| 30 | + type: git |
| 31 | + location: https://github.com/haskell-pkg-janitors/haskell-src.git |
| 32 | + |
| 33 | +library |
| 34 | + exposed-modules: |
| 35 | + Language.Haskell.Lexer, |
| 36 | + Language.Haskell.Parser, |
| 37 | + Language.Haskell.ParseMonad, |
| 38 | + Language.Haskell.Pretty, |
| 39 | + Language.Haskell.Syntax, |
| 40 | + Language.Haskell.ParseUtils |
| 41 | + |
| 42 | + build-depends: base >= 4.13 && < 4.17 |
| 43 | + , syb ^>= 0.7 |
| 44 | + , pretty ^>= 1.1.3.6 |
| 45 | + , array ^>= 0.5.4.0 |
| 46 | + |
| 47 | + ghc-options: -Wcompat -Wnoncanonical-monad-instances |
| 48 | + |
| 49 | + build-tool-depends: happy:happy >= 1.19 && < 1.21 |
| 50 | + |
| 51 | + default-language: Haskell98 |
| 52 | + |
| 53 | + ghc-options: -Wall |
0 commit comments