fountainhead/fountainhead.cabal
2024-12-11 12:50:19 +01:00

82 lines
1.7 KiB
Plaintext

cabal-version: 3.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) 2024 Eugen Wissner
category: Graphics
extra-source-files:
CHANGELOG.md
README.md
common dependencies
build-depends:
base >= 4.16 && < 5,
bytestring ^>= 0.12.0,
text ^>= 2.1,
zlib ^>= 0.7.0
default-language: GHC2021
library
import: dependencies
exposed-modules:
Graphics.Fountainhead
Graphics.Fountainhead.Compression
Graphics.Fountainhead.Dumper
Graphics.Fountainhead.Metrics
Graphics.Fountainhead.Parser
Graphics.Fountainhead.Type
Graphics.Fountainhead.TrueType
hs-source-dirs: lib
build-depends:
containers ^>= 0.6.5,
megaparsec ^>= 9.7,
time ^>= 1.12,
transformers ^>= 0.6,
vector ^>= 0.13.0
ghc-options: -Wall
executable fountainhead
import: dependencies
main-is: Main.hs
default-extensions:
NamedFieldPuns
DuplicateRecordFields
ExplicitForAll
build-depends:
containers,
fountainhead,
megaparsec,
optparse-applicative ^>= 0.18.1,
parser-combinators,
vector,
transformers,
time
hs-source-dirs: src
ghc-options: -Wall
test-suite fountainhead-test
import: dependencies
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Graphics.Fountainhead.MetricsSpec
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
fountainhead,
hspec >= 2.9 && < 3
build-tool-depends:
hspec-discover:hspec-discover