packages feed

netwire-input-glfw-0.0.9: netwire-input-glfw.cabal

-- Initial netwire-input-glfw.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                netwire-input-glfw
version:             0.0.9
synopsis:            GLFW instance of netwire-input
description:         This package contains the necessary glue to allow the use
                     of wires from the netwire-input package. In general, the
                     types associated here should be used only sparingly to
                     plumb the input state through your netwire program.
                     Otherwise, the state should not be modified directly.
homepage:            https://www.github.com/Mokosha/netwire-input-glfw
license:             MIT
license-file:        LICENSE
author:              Pavel Krajcevski
maintainer:          Krajcevski@gmail.com
copyright:           Pavel Krajcevski, 2014-2018
category:            Game
build-type:          Simple
extra-source-files:  examples/Cursor.hs README.md
cabal-version:       >=1.10

flag                 examples
  description:       Build examples
  default:           False

source-repository head
  type:           git
  location:       https://github.com/Mokosha/netwire-input-glfw

library
  exposed-modules:     FRP.Netwire.Input.GLFW
  build-depends:         base              >= 4.6 && < 6
                       , netwire-input     >= 0.0.7
                       , containers
                       , deepseq
                       , GLFW-b
                       , stm
                       , mtl
  hs-source-dirs:      lib
  default-language:    Haskell2010

--------------------------------------------------------------------------------
--
-- Examples
--
--------------------------------------------------------------------------------

executable glfw-input-example
  main-is:          Cursor.hs
  hs-source-dirs:   examples
  ghc-options:      -Wall -rtsopts -O3
  default-language: Haskell2010

  build-depends:    base > 4.5,
                    netwire >= 5,
                    netwire-input,
                    netwire-input-glfw,
                    OpenGL,
                    GLFW-b,
                    transformers,
                    array,
                    bytestring,
                    mtl,
                    containers,
                    directory,
                    filepath

  if flag(examples)
    buildable:      True
  else
    buildable:      False