1
Fork 0
simple-sql-parser/simple-sql-parser.cabal

98 lines
3.8 KiB
Plaintext
Raw Normal View History

name: simple-sql-parser
2014-06-27 11:19:15 +02:00
version: 0.4.1
synopsis: A parser for SQL queries
description: A parser for SQL queries. Parses most SQL:2011
queries. Please see the homepage for more information
<http://jakewheat.github.io/simple-sql-parser/>.
homepage: http://jakewheat.github.io/simple-sql-parser/
license: BSD3
license-file: LICENSE
author: Jake Wheat
maintainer: jakewheatmail@gmail.com
copyright: Copyright Jake Wheat 2013, 2014
category: Database,Language
build-type: Simple
2013-12-17 20:12:16 +01:00
extra-source-files: README,LICENSE,changelog
cabal-version: >=1.10
bug-reports: https://github.com/JakeWheat/simple-sql-parser/issues
source-repository head
2013-12-14 19:45:45 +01:00
type: git
location: https://github.com/JakeWheat/simple-sql-parser.git
Flag parserexe
Description: Build SimpleSqlParserTool exe
Default: False
library
2013-12-13 15:04:48 +01:00
exposed-modules: Language.SQL.SimpleSQL.Pretty,
Language.SQL.SimpleSQL.Parser,
2015-07-31 23:04:18 +02:00
Language.SQL.SimpleSQL.Lexer,
2013-12-13 15:04:48 +01:00
Language.SQL.SimpleSQL.Syntax
Other-Modules: Language.SQL.SimpleSQL.Errors,
Language.SQL.SimpleSQL.Combinators
2013-12-14 19:42:01 +01:00
other-extensions: TupleSections
2015-03-14 16:38:00 +01:00
build-depends: base >=4.5 && <4.9,
parsec >=3.1 && <3.2,
2014-06-20 11:27:23 +02:00
mtl >=2.1 && <2.3,
pretty >= 1.1 && < 1.2
-- hs-source-dirs:
default-language: Haskell2010
2013-12-14 19:42:01 +01:00
ghc-options: -Wall
other-extensions: TupleSections,DeriveDataTypeable
2013-12-14 19:42:01 +01:00
Test-Suite Tests
type: exitcode-stdio-1.0
main-is: RunTests.lhs
hs-source-dirs: .,tools
2015-03-14 16:38:00 +01:00
Build-Depends: base >=4.5 && <4.9,
2013-12-14 19:42:01 +01:00
parsec >=3.1 && <3.2,
2014-06-20 11:27:23 +02:00
mtl >=2.1 && <2.3,
2013-12-14 19:42:01 +01:00
pretty >= 1.1 && < 1.2,
2015-07-31 11:45:51 +02:00
tasty >= 0.10 && < 0.11,
tasty-hunit >= 0.9 && < 0.10
2013-12-14 19:42:01 +01:00
Other-Modules: Language.SQL.SimpleSQL.Pretty,
Language.SQL.SimpleSQL.Parser,
2015-07-31 23:04:18 +02:00
Language.SQL.SimpleSQL.Lexer,
2013-12-14 19:42:01 +01:00
Language.SQL.SimpleSQL.Syntax,
Language.SQL.SimpleSQL.Errors,
Language.SQL.SimpleSQL.Combinators
Language.SQL.SimpleSQL.ErrorMessages,
Language.SQL.SimpleSQL.FullQueries,
Language.SQL.SimpleSQL.GroupBy,
2014-06-27 11:19:15 +02:00
Language.SQL.SimpleSQL.MySQL,
Language.SQL.SimpleSQL.Postgres,
Language.SQL.SimpleSQL.QueryExprComponents,
Language.SQL.SimpleSQL.QueryExprs,
Language.SQL.SimpleSQL.SQL2011,
Language.SQL.SimpleSQL.TableRefs,
Language.SQL.SimpleSQL.TestTypes,
2013-12-14 19:45:45 +01:00
Language.SQL.SimpleSQL.Tests,
Language.SQL.SimpleSQL.Tpch,
2015-07-31 23:04:18 +02:00
Language.SQL.SimpleSQL.ValueExprs,
Language.SQL.SimpleSQL.LexerTests
other-extensions: TupleSections,DeriveDataTypeable
2013-12-14 19:42:01 +01:00
default-language: Haskell2010
2015-07-31 23:04:18 +02:00
ghc-options: -Wall -threaded
executable SimpleSqlParserTool
main-is: SimpleSqlParserTool.lhs
hs-source-dirs: .,tools
2015-03-14 16:38:00 +01:00
Build-Depends: base >=4.5 && <4.9,
parsec >=3.1 && <3.2,
2014-06-20 11:27:23 +02:00
mtl >=2.1 && <2.3,
pretty >= 1.1 && < 1.2,
pretty-show >= 1.6 && < 1.7
other-extensions: TupleSections,DeriveDataTypeable
default-language: Haskell2010
ghc-options: -Wall
if flag(parserexe)
buildable: True
else
buildable: False