summaryrefslogtreecommitdiff
path: root/fountainhead.cabal
blob: 2e1427c72d82c80886fc61d0109e262bc94784f5 (plain)
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
cabal-version: 2.4
name: fountainhead
version: 0.1.0.0

synopsis: TrueType font parser
description: TrueType font parseer.
bug-reports: https://git.caraus.tech/OSS/fountainhead/issues
homepage: https://git.caraus.tech/OSS/fountainhead
maintainer: belka@caraus.de
author: Eugen Wissner

license-files: LICENSE
license: MPL-2.0

copyright: (c) 2023 Eugen Wissner
category: Graphics

extra-source-files:
  CHANGELOG.md
  README.txt

common dependencies
  build-depends:
    text ^>= 2.0

library
  import: dependencies
  exposed-modules:
    Graphics.Fountainhead.Dumper
    Graphics.Fountainhead.Parser
    Graphics.Fountainhead.PDF
    Graphics.Fountainhead.Type
    Graphics.Fountainhead.TrueType
  hs-source-dirs:
    src
  build-depends:
    base >= 4.16 && < 5,
    bytestring ^>= 0.11.0,
    containers ^>= 0.6.5,
    megaparsec ^>= 9.3,
    time ^>= 1.12,
    transformers ^>= 0.5,
    vector ^>= 0.13.0

executable fountainhead
  import: dependencies
  main-is: Main.hs

  default-extensions:
    NamedFieldPuns
    DuplicateRecordFields
    ExplicitForAll
  build-depends:
    base,
    bytestring,
    containers,
    parser-combinators,
    vector,
    transformers,
    time,
    megaparsec,
    fountainhead
  hs-source-dirs: app
  default-language: Haskell2010