cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack

name:           utoy
version:        0.1.0.0
author:         Paul Brinkmeier
maintainer:     hallo@pbrinkmeier.de
copyright:      2023 Paul Brinkmeier
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://git.pbrinkmeier.de/paul/utoy

library
  exposed-modules:
      UToy.Decode
      UToy.Parsers
      UToy.Table
  other-modules:
      Paths_utoy
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      attoparsec
    , base >=4.7 && <5
    , text
  default-language: Haskell2010

executable utoy-exe
  main-is: Main.hs
  hs-source-dirs:
      app
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      attoparsec
    , base >=4.7 && <5
    , blaze-html
    , bytestring
    , http-media
    , servant-server
    , text
    , unicode-data
    , unicode-data-names
    , utoy
    , wai
    , warp
  default-language: Haskell2010

test-suite utoy-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_utoy
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      attoparsec
    , base >=4.7 && <5
    , text
    , utoy
  default-language: Haskell2010