packages feed

TORCS-0.1.0: TORCS.cabal

-- Initial Haskell-Racer.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                TORCS
version:             0.1.0
synopsis:            Bindings to the TORCS vehicle simulator.
description:         
  A library for building autonomous vehicles that run in the TORCS simulator. This requires the following external dependencies:
  .
    1. torcs 1.3.4 (<http://prdownloads.sourceforge.net/torcs/torcs-1.3.4.tar.bz2?download>)
    2. scr-server 2.1 (<https://sourceforge.net/projects/cig/files/SCR%20Championship/Server%20Linux/>)
  .
  Not that scr-server will only work with 1.3.4, until that is updated you must use exactly torcs 1.3.4.
  Complete install instructions here <https://arxiv.org/abs/1304.1672>
  .
  On Ubunutu 16.04, you may need to comment out line 70 in @src\/modules\/simu\/simuv2\/simu.cpp@ in order for TORCS to compile.
  .
  A guide script for install is available at <https://github.com/santolucito/Haskell-TORCS/blob/master/installTORCS.sh>

license:             GPL
license-file:        LICENSE
author:              Mark Santolucito
maintainer:          mark.santolucito@yale.edu
-- copyright:           
category:            Simulation, FRP, Bindings
build-type:          Simple
extra-source-files:  ChangeLog.md, README
cabal-version:       >=1.10

source-repository head
  type:     git
  location: git://github.com/santolucito/Haskell-TORCS.git

library
  exposed-modules:     
     TORCS
   , TORCS.Types
   , TORCS.Connect
   , TORCS.Connect.Runner
  other-modules:  
     TORCS.Connect.Util     
   , TORCS.Parser
  other-extensions:    Arrows, OverloadedStrings
  build-depends:       base >=4.9 && <4.11, 
                       time >=1.6 && <1.7,
                       bytestring >=0.10 && <0.11, 
                       network >=2.6 && <2.7, 
                       Yampa >=0.10 && <0.11,
                       containers >= 0.5.7.1,
                       monad-parallel >= 0.7.2.2,
                       process >=1.4,
                       lens,
                       random,
                       random-shuffle,
                       monad-loops,
                       MonadRandom,
                       directory
  default-language:    Haskell2010
  ghc-options: 
      -fno-warn-partial-type-signatures
   --   -Wall 
   -- -O2 
   -- "-with-rtsopts= -s -h -i0.1"

executable Simple
  main-is:             Simple.hs
  build-depends:       base
                     , TORCS
                     , Yampa >=0.10 && <0.11
                     , bytestring >=0.10 && <0.11
  hs-source-dirs:      Examples
  default-language:    Haskell2010