packages feed

shapes-0.1.0.0: shapes.cabal

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

name:           shapes
version:        0.1.0.0
synopsis:       physics engine and other tools for 2D shapes
description:    Please see the README on Github at <https://github.com/ublubu/shapes#readme>
category:       Physics
homepage:       https://github.com/ublubu/shapes#readme
bug-reports:    https://github.com/ublubu/shapes/issues
author:         Kynan Rilee
maintainer:     kynan.rilee@gmail.com
copyright:      2018 Kynan Rilee
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

source-repository head
  type: git
  location: https://github.com/ublubu/shapes

library
  hs-source-dirs:
      src
  build-depends:
      array
    , base >=4.7 && <5
    , containers
    , deepseq
    , either
    , ghc-prim
    , lens
    , linear
    , mtl
    , shapes-math
    , transformers
    , vector
    , vector-th-unbox
  exposed-modules:
      Physics.Broadphase.Aabb
      Physics.Broadphase.Grid
      Physics.Constraint
      Physics.Constraint.Types
      Physics.Constraints.Contact
      Physics.Constraints.Contact.Friction
      Physics.Constraints.Contact.NonPenetration
      Physics.Constraints.SolutionProcessors
      Physics.Constraints.Types
      Physics.Contact
      Physics.Contact.Circle
      Physics.Contact.CircleVsCircle
      Physics.Contact.CircleVsHull
      Physics.Contact.ConvexHull
      Physics.Contact.GJK
      Physics.Contact.HullVsHull
      Physics.Contact.SAT
      Physics.Contact.Types
      Physics.Engine
      Physics.Engine.Class
      Physics.Engine.Main
      Physics.Linear
      Physics.Linear.Convert
      Physics.Scenes.Balls
      Physics.Scenes.FourBoxesTwoStatic
      Physics.Scenes.Rolling
      Physics.Scenes.Scene
      Physics.Scenes.Stacks
      Physics.Scenes.TwoFlyingBoxes
      Physics.Solvers.Contact
      Physics.Transform
      Physics.World
      Physics.World.Class
      Physics.World.External
      Physics.World.Object
      Utils.Descending
      Utils.Utils
  other-modules:
      Paths_shapes
  default-language: Haskell2010

executable shapes-bench
  main-is: Main.hs
  hs-source-dirs:
      bench
  build-depends:
      array
    , base >=4.7 && <5
    , containers
    , criterion
    , deepseq
    , either
    , ghc-prim
    , lens
    , linear
    , mtl
    , shapes
    , shapes-math
    , transformers
    , vector
    , vector-th-unbox
  other-modules:
      Physics.Broadphase.Benchmark
      Physics.Constraint.Benchmark
      Physics.Contact.Benchmark
      Physics.Contact.Circle.Benchmark
      Physics.Contact.GJK.Benchmark
      Paths_shapes
  default-language: Haskell2010

test-suite shapes-spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  build-depends:
      QuickCheck
    , array
    , base >=4.7 && <5
    , containers
    , deepseq
    , either
    , ghc-prim
    , hspec
    , lens
    , linear
    , mtl
    , shapes
    , shapes-math
    , transformers
    , vector
    , vector-th-unbox
  other-modules:
      Physics.Broadphase.AabbSpec
      Paths_shapes
  default-language: Haskell2010