forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
haskell-src.cabal
53 lines (43 loc) · 1.76 KB
/
haskell-src.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cabal-version: >=1.10
name: haskell-src
-- don't forget to update the changelog.md!
version: 1.0.3.0
build-type: Simple
license: BSD3
license-file: LICENSE
author: Simon Marlow, Sven Panne and Noel Winstanley
-- Maintained through https://github.com/haskell-pkg-janitors. Join us!
maintainer: Herbert Valerio Riedel <hvr@gnu.org>
bug-reports: https://github.com/haskell-pkg-janitors/haskell-src/issues
category: Language
synopsis: Support for manipulating Haskell source code
description:
The @haskell-src@ package provides support for manipulating Haskell
source code. The package provides a lexer, parser and
pretty-printer, and a definition of a Haskell abstract syntax tree
(AST). Common uses of this package are to parse or generate
<http://www.haskell.org/onlinereport/ Haskell 98> code
tested-with: GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
extra-source-files: changelog.md
source-repository head
type: git
location: https://github.com/haskell-pkg-janitors/haskell-src.git
library
exposed-modules:
Language.Haskell.Lexer,
Language.Haskell.Parser,
Language.Haskell.ParseMonad,
Language.Haskell.Pretty,
Language.Haskell.Syntax,
Language.Haskell.ParseUtils
build-depends: base >= 4.3 && < 5
, syb >= 0.1 && < 0.8
, pretty >= 1.0.1.2 && < 1.2
, array >= 0.3 && < 0.6
if !impl(ghc >= 8.0)
build-depends: semigroups == 0.18.*, fail == 4.9.*
else
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
build-tools: happy == 1.19.*
default-language: Haskell98
ghc-options: -Wall