cabal-version: 2.4 -- Initial package description 'minilight.cabal' generated by 'cabal init'. -- For further documentation, see http://haskell.org/cabal/users-guide/ name: minilight version: 0.1.0 synopsis: A SDL2-based graphics library, batteries-included. description: This package provides the wheel for a graphcal application or a game. . Basic concepts and features: . - Figure: convenient SDL texture, once created, it can be translated or rotated during rendering. - Component: a reusable widget with event handlers, its figures can also be cached. - dynamic component loading: view components can be constructed by an external yaml file. - built-in components: some common components are predefined. You can define a new component by yourself. -- bug-reports: license: MIT license-file: LICENSE author: myuon maintainer: ioi.joi.koi.loi@gmail.com -- copyright: category: Graphics extra-source-files: CHANGELOG.md source-repository head type: git location: https://github.com/myuon/minilight library exposed-modules: MiniLight MiniLight.Figure MiniLight.Light MiniLight.Event MiniLight.Component MiniLight.Component.Types MiniLight.Component.Loader MiniLight.Component.Layer MiniLight.Component.AnimationLayer MiniLight.Component.MessageEngine MiniLight.Component.MessageLayer MiniLight.Component.Button -- other-modules: -- other-extensions: build-depends: FontyFruity >= 0.5.3 && < 0.6, base >= 4.12.0 && < 4.13, containers >= 0.6.0 && < 0.7, text >= 1.2.3 && < 1.3, vector >= 0.12.0 && < 0.13, aeson >= 1.4.2 && < 1.5, scientific >= 0.3.6 && < 0.4, hashable >= 1.2.7 && < 1.3, template-haskell >= 2.14.0 && < 2.15, unordered-containers >= 0.2.10 && < 0.3, exceptions >= 0.10.1 && < 0.11, mtl >= 2.2.2 && < 2.3, linear >= 1.20.8 && < 1.21, microlens >= 0.4.10 && < 0.5, microlens-mtl >= 0.1.11 && < 0.2, sdl2 >= 2.4.1 && < 2.5, sdl2-gfx >= 0.2 && < 0.3, sdl2-image >= 2.0.0 && < 2.1, sdl2-ttf >= 2.1.0 && < 2.2, trifecta >= 2 && < 2.1, yaml >= 0.11.0 && < 0.12, mwc-random >= 0.14.0 && < 0.15, hs-source-dirs: src default-language: Haskell2010 default-extensions: FlexibleContexts FlexibleInstances GADTs OverloadedStrings MultiParamTypeClasses RankNTypes Strict ghc-options: -Wall -Wno-name-shadowing test-suite tests type: exitcode-stdio-1.0 main-is: Driver.hs build-tool-depends: tasty-discover:tasty-discover >= 4.2 && < 4.3, build-depends: aeson, base, minilight, tasty, tasty-hspec, trifecta, yaml, hs-source-dirs: test default-language: Haskell2010 executable button-counter hs-source-dirs: examples main-is: button-counter.hs default-language: Haskell2010 build-depends: base, minilight, sdl2, sdl2-ttf, text, ghc-options: -Wall -Wno-name-shadowing executable boids hs-source-dirs: examples main-is: boids.hs default-language: Haskell2010 build-depends: base, linear, microlens, minilight, mtl, mwc-random, sdl2, sdl2-ttf, text, vector, ghc-options: -Wall -Wno-name-shadowing