File: haskell-src-meta.cabal

package info (click to toggle)
haskell-src-meta 0.8.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196 kB
  • sloc: haskell: 1,877; makefile: 3
file content (88 lines) | stat: -rw-r--r-- 2,542 bytes parent folder | download
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name:               haskell-src-meta
version:            0.8.14
cabal-version:      >= 1.10
build-type:         Simple
license:            BSD3
license-file:       LICENSE
category:           Language, Template Haskell
author:             Matt Morrow
copyright:          (c) Matt Morrow
maintainer:         danburton.email@gmail.com
bug-reports:        https://github.com/haskell-party/haskell-src-meta/issues
tested-with:        GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.2, GHC == 9.4.1, GHC == 9.6.1, GHC == 9.8.1, GHC == 9.10.1
synopsis:           Parse source to template-haskell abstract syntax.
description:        The translation from haskell-src-exts abstract syntax
                    to template-haskell abstract syntax isn't 100% complete yet.

extra-source-files: ChangeLog README.md

library
  default-language: Haskell2010
  build-depends:   base >= 4.10 && < 5,
                   haskell-src-exts >= 1.21 && < 1.24,
                   pretty >= 1.0 && < 1.2,
                   syb >= 0.1 && < 0.8,
                   template-haskell >= 2.12 && < 2.23,
                   th-orphans >= 0.12 && < 0.14

  hs-source-dirs:  src
  exposed-modules: Language.Haskell.Meta
                   Language.Haskell.Meta.Extensions
                   Language.Haskell.Meta.Parse
                   Language.Haskell.Meta.Syntax.Translate
                   Language.Haskell.Meta.Utils
  other-modules:   Language.Haskell.Meta.THCompat

test-suite unit
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   tests
  main-is:          Main.hs

  build-depends:
    HUnit                >= 1.2,
    base                 >= 4.10,
    haskell-src-exts     >= 1.21,
    haskell-src-meta,
    pretty               >= 1.0,
    template-haskell     >= 2.12,
    tasty,
    tasty-hunit


test-suite splices
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   tests
  main-is:          Splices.hs

  build-depends:
    base,
    haskell-src-exts,
    haskell-src-meta,
    template-haskell

test-suite examples
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   examples, tests
  main-is:          TestExamples.hs

  build-depends:
    base,
    containers,
    haskell-src-meta,
    pretty,
    syb,
    template-haskell


  other-modules:
    BF,
    Hs,
    HsHere,
    SKI

source-repository head
  type:     git
  location: git://github.com/haskell-party/haskell-src-meta.git