packages feed

pads-haskell-0.0.0.1: pads-haskell.cabal

-- pads-haskell.cabal auto-generated by cabal init. For additional options,
-- see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                pads-haskell

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.0.0.1

-- A short (one-line) description of the package.
Synopsis:            PADS data description language for Haskell

-- A longer description of the package.
Description:     Massive amounts of useful data are stored and processed in
  ad hoc formats for which common tools like parsers,
  printers, query engines and format converters are not readily
  available.  Pads/Haskell is a domain-specific language that
  facilitates the generation of data processing tools for ad hoc
  formats. Pads/Haskell includes features such as
  dependent, polymorphic and recursive datatypes, which allow
  programmers to describe the syntax and semantics of ad hoc data in a
  concise,  easy-to-read notation.

-- URL for the project homepage or repository.
Homepage:            http://www.padsproj.org

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Kathleen Fisher and John Launchbury

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          kathleen.fisher@gmail.com

-- A copyright notice.
-- Copyright:


Category:            Language

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
Extra-source-files:  Examples/First.hs, Examples/AI.hs, Examples/Binary.hs,
                     Examples/data/README
                     Examples/data/test_file
                     Examples/data/ai.3000, Examples/data/ai.big,
                     Examples/data/binary,
                     Examples/data/a2b.c, Examples/data/calls10.a, Examples/data/calls10.b,
                     Examples/data/genBin.c, Examples/data/binTest.a, Examples/data/binTest.b
                     Documentation/Info/PADS-Index.txt
                     Documentation/Info/PackagesUsedInPads.txt
                     Documentation/Info/Pads-grammar.tex
                     Test/data/maps0

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.10


Library
  -- Modules exported by the library.
  exposed-modules:     Language.Pads.GenPretty, Language.Pads.Padsc,
                       Language.Pads.BaseTypes, Language.Pads.Quote,
                       Language.Pads.Syntax,    Language.Pads.Parser,
                       Language.Pads.Generic,   Language.Pads.RegExp
                       Language.Pads.Pretty,    Language.Pads.Source,
                       Language.Pads.TH,        Language.Pads.Testing,
                       Language.Pads.Library.BinaryUtilities,
                       Language.Pads.Library.Native,
                       Language.Pads.Library.BigEndian,
                       Language.Pads.Library.LittleEndian,
                       Language.Pads.CodeGen,
                       Language.Pads.CoreBaseTypes,
                       Language.Pads.Errors,
                       Language.Pads.MetaData,
                       Language.Pads.PadsParser,
                       Language.Pads.PadsPrinter

  -- Packages needed in order to build this package.
  build-depends:    base >= 4.7 && < 5.0,
                    syb >= 0.7 && < 0.8,
                    containers >= 0.5.5.1 && < 0.6,
                    template-haskell >= 2.9 && < 2.14,
                    Glob >= 0.9.2 && < 0.10,
                    regex-posix >= 0.95.2 && < 0.96,
                    bytestring >= 0.10.4 && < 0.11,
                    haskell-src >= 1.0.1.6 && < 1.1,
                    haskell-src-meta >= 0.8.0.2 && < 0.9,
                    parsec >= 3.1.0 && < 3.2,
                    mainland-pretty >= 0.6.1 && < 0.7,
                    HUnit >= 1.6.0.0 && < 1.7,
                    byteorder >= 1.0.4 && < 1.1,
                    old-locale >= 1.0.0.6 && < 1.1,
                    time >= 1.8.0.2 && < 1.9,
                    random >= 1.1 && < 1.2,
                    normaldistribution >= 1.1.0.3 && < 1.2,
                    th-lift >= 0.7.8 && < 0.8,
                    transformers

  -- Modules not exported by this package.

  default-language: Haskell2010

  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools:

Flag debug
  Description: Adds debug logging
  Manual:      True
  Default:     False
      

Test-Suite examples
  Type:           exitcode-stdio-1.0
  Main-Is:        Test/Examples.hs
  if flag(debug)
    ghc-options:    -ddump-splices
  build-depends:  base
                , old-locale, haskell-src, template-haskell
                , mainland-pretty, containers, time, syb, parsec
                , haskell-src-meta, Glob, bytestring, regex-posix
                , QuickCheck, HUnit
                , Cabal
                , test-framework
                , test-framework-hunit
                , test-framework-quickcheck2
                , directory, byteorder
                , th-lift, transformers, mtl
  default-language: Haskell2010
  other-modules:  Examples.Proc, Examples.First, Examples.AI, Examples.Binary
                , Examples.FirstPads
                , Language.Pads.Testing
                , Language.Pads.BaseTypes
                , Language.Pads.CodeGen
                , Language.Pads.CoreBaseTypes
                , Language.Pads.Errors
                , Language.Pads.GenPretty
                , Language.Pads.Generic
                , Language.Pads.MetaData
                , Language.Pads.PadsParser
                , Language.Pads.PadsPrinter
                , Language.Pads.Padsc
                , Language.Pads.Parser
                , Language.Pads.Pretty
                , Language.Pads.Quote
                , Language.Pads.RegExp
                , Language.Pads.Source
                , Language.Pads.Syntax
                , Language.Pads.TH
                , Language.Pads.Library.BigEndian
                , Language.Pads.Library.BinaryUtilities
                , Language.Pads.Library.LittleEndian
                , Language.Pads.Library.Native