packages feed

typograffiti-0.1.0.3: typograffiti.cabal

cabal-version: 1.12

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

name:           typograffiti
version:        0.1.0.3
synopsis:       Just let me draw nice text already
description:    This is a text rendering library that uses OpenGL and freetype2 to render TTF font strings quickly. It is fast enough to render large chunks of text in real time. This library exists because text rendering is one of the biggest hurdles in Haskell graphics programming - and it shouldn't be!
                Typograffiti includes an MTL style typeclass and a default monad transformer. It does not assume you are using any specific windowing solution. It does assume you are using OpenGL 3.3+.
                Pull requests are very welcome :)
                See https://github.com/schell/typograffiti/blob/master/app/Main.hs for an example.
category:       Graphics
homepage:       https://github.com/schell/typograffiti#readme
bug-reports:    https://github.com/schell/typograffiti/issues
author:         Schell Scivally
maintainer:     schell@takt.com
copyright:      2018 Schell Scivally
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/schell/typograffiti

library
  exposed-modules:
      Typograffiti
      Typograffiti.Atlas
      Typograffiti.Cache
      Typograffiti.GL
      Typograffiti.Glyph
      Typograffiti.Store
      Typograffiti.Utils
  other-modules:
      Paths_typograffiti
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10
    , containers >=0.6
    , freetype2 >=0.1
    , gl >=0.8
    , linear >=1.20
    , mtl >=2.2
    , pretty-show >=1.9
    , stm >=2.5
    , template-haskell >=2.14
    , vector >=0.12
  default-language: Haskell2010

executable typograffiti-exe
  main-is: Main.hs
  other-modules:
      Paths_typograffiti
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10
    , containers >=0.6
    , filepath >=1.4
    , freetype2 >=0.1
    , gl >=0.8
    , linear >=1.20
    , mtl >=2.2
    , pretty-show >=1.9
    , sdl2 >=2.4.1
    , stm >=2.5
    , template-haskell >=2.14
    , typograffiti
    , vector >=0.12
  default-language: Haskell2010

test-suite typograffiti-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_typograffiti
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10
    , containers >=0.6
    , freetype2 >=0.1
    , gl >=0.8
    , linear >=1.20
    , mtl >=2.2
    , pretty-show >=1.9
    , stm >=2.5
    , template-haskell >=2.14
    , typograffiti
    , vector >=0.12
  default-language: Haskell2010