packages feed

HaGL-0.1.0.0: HaGL.cabal

name:                HaGL
version:             0.1.0.0
synopsis:            Haskell-embedded OpenGL
description:         A simple, functional approach to 
                     OpenGL programming in Haskell.
                     .
                     All definitions that comprise HaGL are
                     provided by the top-level "Graphics.HaGL" module.
homepage:            https://github.com/simeonkr/HaGL
license:             MIT
license-file:        LICENSE
author:              Simeon Krastnikov
maintainer:          skrastnikov@gmail.com
category:            Graphics
build-type:          Simple
extra-source-files:  README.md, CHANGELOG.md
cabal-version:       >=1.10

source-repository head
  type:     git
  location: https://github.com/simeonkr/HaGL

library
  exposed-modules:
    Graphics.HaGL
    Graphics.HaGL.Internal
  other-modules:
    Graphics.HaGL.TH.HaGL
    Graphics.HaGL.Util
    Graphics.HaGL.Util.Types
    Graphics.HaGL.Util.DepMap
    Graphics.HaGL.Numerical
    Graphics.HaGL.GLType
    Graphics.HaGL.GLExpr
    Graphics.HaGL.ExprID
    Graphics.HaGL.GLAst
    Graphics.HaGL.Print
    Graphics.HaGL.Eval
    Graphics.HaGL.GLObj
    Graphics.HaGL.Shader
    Graphics.HaGL.CodeGen
    Graphics.HaGL.Backend
    Graphics.HaGL.Backend.GLUT
  default-extensions:
    GADTs, 
    DataKinds, 
    KindSignatures,
    TypeFamilies,
    TypeOperators,
    ViewPatterns, 
    FlexibleContexts, 
    FlexibleInstances,
    PartialTypeSignatures
  build-depends:
    base >= 4.12 && < 4.19,
    template-haskell >= 2.14.0 && < 2.21,
    array >= 0.5.3 && < 0.6,
    matrix >= 0.3.6 && < 0.4,
    containers >= 0.6.0 && < 0.7,
    unordered-containers >= 0.2.19 && < 0.3,
    mtl >= 2.2.2 && < 2.3,
    hashable >= 1.4.2 && < 1.5,
    time >= 1.8.0 && < 1.14,
    cryptohash-md5 >= 0.11.100 && < 0.12,
    OpenGL >= 3.0.3 && < 3.1,
    OpenGLRaw >= 3.3.4 && < 3.4,
    GLUT >= 2.7.0 && < 2.8,
    bytestring >= 0.11.4 && < 0.12,
    gl-capture >= 0.1.0 && < 0.2
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: 
    -Wall 
    -- FIXME: enable -fwarn-incomplete-patterns 
    -- and fix warnings
    -Wno-incomplete-patterns
    -Wno-missing-signatures
    -Wno-unticked-promoted-constructors
    -Wno-partial-type-signatures
    -Wno-name-shadowing
    -Wno-orphans

test-suite HaGL-test
  type: exitcode-stdio-1.0
  default-extensions:
    GADTs,
    DataKinds,
    KindSignatures,
    TypeFamilies,
    TypeOperators,
    ViewPatterns,
    FlexibleContexts, 
    FlexibleInstances,
    PartialTypeSignatures
  build-depends:
    base,
    HaGL,
    HUnit >= 1.6.2.0 && < 1.7,
    bytestring,
    directory >= 1.3.3.0 && < 1.4,
    GLUT
  other-modules:
  hs-source-dirs: tests
  main-is: Test.hs
  default-language:    Haskell2010