tools/pas2c/pas2c.cabal
author nemo
Mon, 10 Apr 2017 12:06:43 -0400
changeset 12213 bb5522e88ab2
parent 11399 ed6bb8c066b3
child 13512 36f3f77e9b1b
permissions -rw-r--r--
bulk copy of latest physfs to our misc/libphysfs since this seems to fix an off-by-1 error reliably hit in readln read of 1 byte probably introduced in the addition of the buffered read. Whether this is excessive or whether libphysfs should even be maintained by us is another matter. But at least we shouldn't crash
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11399
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     1
Name:                pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     2
Version:             0.1
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     3
Synopsis:            pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     4
Description:         pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     5
Homepage:            http://www.hedgewars.org/
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     6
License:             GPL-2
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     7
Author:              unC0Rr
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     8
Maintainer:          unC0Rr@hedgewars.org
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     9
Category:            Converter
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    10
Build-type:          Simple
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    11
Cabal-version:       >=1.10
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    12
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    13
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    14
Executable pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    15
  main-is: Main.hs
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    16
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    17
  default-language:    Haskell2010
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    18
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    19
  build-depends:
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    20
    base >= 4.3,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    21
    containers,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    22
    mtl >= 2,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    23
    parsec,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    24
    pretty,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    25
    transformers
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    26
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    27
  if !os(windows)
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    28
    build-depends: unix
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    29
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    30
  ghc-options: -O2