2013-12-13 11:46:35 +01:00
|
|
|
name: simple-sql-parser
|
2015-08-01 17:08:54 +02:00
|
|
|
version: 0.5.0
|
|
|
|
synopsis: A parser for SQL.
|
2014-04-20 18:24:03 +02:00
|
|
|
|
2015-08-01 17:08:54 +02:00
|
|
|
description: A parser for SQL. Parses most SQL:2011
|
2015-08-01 20:13:37 +02:00
|
|
|
queries, non-query DML, DDL, access control,
|
|
|
|
transaction management and session management
|
|
|
|
syntax. Please see the homepage for more
|
|
|
|
information
|
2014-04-20 18:24:03 +02:00
|
|
|
<http://jakewheat.github.io/simple-sql-parser/>.
|
2013-12-13 11:46:35 +01:00
|
|
|
|
2013-12-17 21:54:20 +01:00
|
|
|
homepage: http://jakewheat.github.io/simple-sql-parser/
|
2013-12-13 11:46:35 +01:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Jake Wheat
|
|
|
|
maintainer: jakewheatmail@gmail.com
|
2015-08-01 22:21:46 +02:00
|
|
|
copyright: Copyright Jake Wheat 2013, 2014, 2015
|
2013-12-13 14:05:32 +01:00
|
|
|
category: Database,Language
|
2013-12-13 11:46:35 +01:00
|
|
|
build-type: Simple
|
2013-12-17 20:12:16 +01:00
|
|
|
extra-source-files: README,LICENSE,changelog
|
2013-12-13 11:46:35 +01:00
|
|
|
cabal-version: >=1.10
|
2013-12-17 21:54:20 +01:00
|
|
|
bug-reports: https://github.com/JakeWheat/simple-sql-parser/issues
|
2013-12-13 11:46:35 +01:00
|
|
|
|
2013-12-13 14:05:32 +01:00
|
|
|
source-repository head
|
2013-12-14 19:45:45 +01:00
|
|
|
type: git
|
2013-12-17 21:54:20 +01:00
|
|
|
location: https://github.com/JakeWheat/simple-sql-parser.git
|
2013-12-13 11:46:35 +01:00
|
|
|
|
2015-08-01 11:13:53 +02:00
|
|
|
Flag parserexe
|
|
|
|
Description: Build SimpleSqlParserTool exe
|
2013-12-19 09:31:27 +01:00
|
|
|
Default: False
|
|
|
|
|
2013-12-13 11:46:35 +01:00
|
|
|
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
|
2014-05-09 20:37:09 +02:00
|
|
|
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,
|
2013-12-13 14:05:32 +01:00
|
|
|
parsec >=3.1 && <3.2,
|
2014-06-20 11:27:23 +02:00
|
|
|
mtl >=2.1 && <2.3,
|
2013-12-31 10:02:26 +01:00
|
|
|
pretty >= 1.1 && < 1.2
|
2013-12-14 10:23:58 +01:00
|
|
|
-- hs-source-dirs:
|
2013-12-13 11:46:35 +01:00
|
|
|
default-language: Haskell2010
|
2013-12-14 19:42:01 +01:00
|
|
|
ghc-options: -Wall
|
2014-04-19 10:45:45 +02:00
|
|
|
other-extensions: TupleSections,DeriveDataTypeable
|
2014-04-20 18:24:03 +02:00
|
|
|
|
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,
|
2014-05-09 20:37:09 +02:00
|
|
|
Language.SQL.SimpleSQL.Errors,
|
|
|
|
Language.SQL.SimpleSQL.Combinators
|
2013-12-17 11:16:03 +01:00
|
|
|
|
2014-04-20 15:13:14 +02:00
|
|
|
Language.SQL.SimpleSQL.ErrorMessages,
|
2013-12-17 10:40:31 +01:00
|
|
|
Language.SQL.SimpleSQL.FullQueries,
|
2013-12-17 18:17:03 +01:00
|
|
|
Language.SQL.SimpleSQL.GroupBy,
|
2014-06-27 11:19:15 +02:00
|
|
|
Language.SQL.SimpleSQL.MySQL,
|
2013-12-17 10:40:31 +01:00
|
|
|
Language.SQL.SimpleSQL.Postgres,
|
2013-12-17 11:16:03 +01:00
|
|
|
Language.SQL.SimpleSQL.QueryExprComponents,
|
|
|
|
Language.SQL.SimpleSQL.QueryExprs,
|
2015-08-01 17:08:54 +02:00
|
|
|
Language.SQL.SimpleSQL.SQL2011Queries,
|
|
|
|
Language.SQL.SimpleSQL.SQL2011AccessControl,
|
|
|
|
Language.SQL.SimpleSQL.SQL2011Bits,
|
|
|
|
Language.SQL.SimpleSQL.SQL2011DataManipulation,
|
|
|
|
Language.SQL.SimpleSQL.SQL2011Schema,
|
2013-12-17 10:40:31 +01:00
|
|
|
Language.SQL.SimpleSQL.TableRefs,
|
|
|
|
Language.SQL.SimpleSQL.TestTypes,
|
2013-12-14 19:45:45 +01:00
|
|
|
Language.SQL.SimpleSQL.Tests,
|
2014-04-20 15:13:14 +02:00
|
|
|
Language.SQL.SimpleSQL.Tpch,
|
2015-07-31 23:04:18 +02:00
|
|
|
Language.SQL.SimpleSQL.ValueExprs,
|
|
|
|
Language.SQL.SimpleSQL.LexerTests
|
2013-12-17 11:16:03 +01:00
|
|
|
|
2014-04-20 18:24:03 +02:00
|
|
|
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
|
2013-12-19 09:31:27 +01:00
|
|
|
|
2015-08-01 11:13:53 +02:00
|
|
|
executable SimpleSqlParserTool
|
|
|
|
main-is: SimpleSqlParserTool.lhs
|
2013-12-19 09:31:27 +01:00
|
|
|
hs-source-dirs: .,tools
|
2015-03-14 16:38:00 +01:00
|
|
|
Build-Depends: base >=4.5 && <4.9,
|
2013-12-19 09:31:27 +01:00
|
|
|
parsec >=3.1 && <3.2,
|
2014-06-20 11:27:23 +02:00
|
|
|
mtl >=2.1 && <2.3,
|
2015-08-01 11:13:53 +02:00
|
|
|
pretty >= 1.1 && < 1.2,
|
|
|
|
pretty-show >= 1.6 && < 1.7
|
2014-04-20 18:24:03 +02:00
|
|
|
other-extensions: TupleSections,DeriveDataTypeable
|
2013-12-19 09:31:27 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall
|
2015-08-01 11:13:53 +02:00
|
|
|
if flag(parserexe)
|
2013-12-19 09:31:27 +01:00
|
|
|
buildable: True
|
|
|
|
else
|
|
|
|
buildable: False
|
2015-08-01 14:58:45 +02:00
|
|
|
|
|
|
|
executable Fixity
|
|
|
|
main-is: Fixity.lhs
|
|
|
|
hs-source-dirs: .,tools
|
|
|
|
Build-Depends: base >=4.5 && <4.9,
|
|
|
|
parsec >=3.1 && <3.2,
|
|
|
|
mtl >=2.1 && <2.3,
|
|
|
|
pretty >= 1.1 && < 1.2,
|
|
|
|
pretty-show >= 1.6 && < 1.7,
|
|
|
|
tasty >= 0.10 && < 0.11,
|
|
|
|
tasty-hunit >= 0.9 && < 0.10
|
|
|
|
|
|
|
|
other-extensions: TupleSections,DeriveDataTypeable
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall
|
|
|
|
if flag(parserexe)
|
|
|
|
buildable: True
|
|
|
|
else
|
|
|
|
buildable: False
|