-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.yaml
66 lines (58 loc) · 1.76 KB
/
package.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 2019 Google LLC
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
name: ghc-source-gen
version: 0.1.0.0
github: "google/ghc-source-gen"
license: BSD3
author: "Judah Jacobson"
maintainer: "judahjacobson@google.com"
copyright: "Google LLC"
extra-source-files:
- README.md
- ChangeLog.md
synopsis: Constructs Haskell syntax trees for the GHC API.
category: Development
description: |
@ghc-source-gen@ is a library for generating Haskell source code.
It uses the <https://hackage.haskell.org/package/ghc ghc> library
to support recent language extensions, and provides a simple, consistent
interface across several major versions of GHC.
.
To get started, take a look at the "GHC.SourceGen" module.
.
For more information, please see the <https://github.com/google/ghc-source-gen README>.
dependencies:
- base >= 4.7 && < 5
- ghc >= 8.2 && < 8.9
default-extensions:
- DataKinds
- FlexibleInstances
- TypeSynonymInstances
library:
source-dirs: src
other-modules:
- GHC.SourceGen.Binds.Internal
- GHC.SourceGen.Expr.Internal
- GHC.SourceGen.Lit.Internal
- GHC.SourceGen.Name.Internal
- GHC.SourceGen.Syntax.Internal
- GHC.SourceGen.Type.Internal
tests:
pprint_examples:
main: pprint_examples.hs
source-dirs: tests
dependencies:
- ghc-source-gen
- ghc-paths == 0.1.*
# TODO: Fill out this test, and use it to replace pprint_examples.
pprint_test:
main: pprint_test.hs
source-dirs: tests
dependencies:
- ghc-source-gen
- ghc-paths == 0.1.*
- tasty
- tasty-hunit