packages feed

twirl-0.4.0.4: twirl.cabal

cabal-version: 2.2

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

name:           twirl
version:        0.4.0.4
synopsis:       Simple 2D Game Engine
description:    A batteries included 2D game engine focusing on simplicity and ease of use.
category:       Game Engine
author:         Lassi Haasio
maintainer:     ilikeavocadoes@devmail.cc
copyright:      (c) 2021-2023 Lassi Haasio
license:        Zlib
build-type:     Simple
extra-source-files:
    README.md
    PixelOperator.ttf

source-repository head
  type: git
  location: https://git.sr.ht/~ilikeavocadoes/twirl

flag debug
  manual: True
  default: False

library
  exposed-modules:
      Twirl
      Twirl.Graphics
      Twirl.Inputs
  other-modules:
      Paths_twirl
  autogen-modules:
      Paths_twirl
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.11.3 && <0.12
    , containers >=0.6.5 && <0.7
    , file-embed >=0.0.15 && <0.1
    , linear >=1.21.8 && <1.22
    , mtl >=2.2.2 && <2.3
    , pretty-simple >=4.0.0 && <4.1
    , sdl2 >=2.5.3 && <2.6
    , sdl2-image >=2.1.0 && <2.2
    , sdl2-mixer >=1.2.0 && <1.3
    , sdl2-ttf >=2.1.2 && <2.2
    , text >=1.2.5 && <1.3
    , time >=1.11.1 && <1.12
    , transformers >=0.5.6 && <0.6
    , vector >=0.12.3 && <0.13
  if flag(debug)
    ghc-options: -W -Wall -fwrite-ide-info -hiedir=.hie
  else
    ghc-options: -W -Wall -Werror -Wno-orphans
  default-language: Haskell2010

executable example
  main-is: Main.hs
  other-modules:
      Paths_twirl
  autogen-modules:
      Paths_twirl
  hs-source-dirs:
      example
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.11.3 && <0.12
    , containers >=0.6.5 && <0.7
    , file-embed >=0.0.15 && <0.1
    , linear >=1.21.8 && <1.22
    , mtl >=2.2.2 && <2.3
    , pretty-simple >=4.0.0 && <4.1
    , sdl2 >=2.5.3 && <2.6
    , sdl2-image >=2.1.0 && <2.2
    , sdl2-mixer >=1.2.0 && <1.3
    , sdl2-ttf >=2.1.2 && <2.2
    , text >=1.2.5 && <1.3
    , time >=1.11.1 && <1.12
    , transformers >=0.5.6 && <0.6
    , twirl
    , vector >=0.12.3 && <0.13
  if flag(debug)
    ghc-options: -W -Wall -fwrite-ide-info -hiedir=.hie
  else
    ghc-options: -W -Wall -Werror -Wno-orphans
  default-language: Haskell2010