11name : postgresql-simple-bind
22version : 0.1.0.0
33synopsis : A FFI-like bindings for PostgreSQL stored functions
4- description : For tutorial see here : https :\/\/github.com\/zohl\/postgresql-simple-bind\/blob\/master\/README.md
4+ description : For tutorial see here : https :\/\/github.com\/zohl\/postgresql-simple-bind\/blob\/master\/README.md
55license : GPL-3
66license-file : LICENSE
77author : Al Zohali
88maintainer : Al Zohali <zohl@fmap.me>
9- -- copyright:
9+ -- copyright:
1010category : Database
1111build-type : Simple
12- -- extra-source-files:
12+ -- extra-source-files:
1313cabal-version : >= 1.10
1414
15+ flag dev
16+ description : Turn on development settings.
17+ manual : True
18+ default : False
19+
1520source-repository head
1621 type : git
1722 location : https://github.com/zohl/postgresql-simple-bind.git
1823
1924library
20- build-depends : base >= 4.8 && < 4.9
21- , attoparsec
22- , bytestring
23- , heredoc
24- , postgresql-simple
25- , template-haskell
26- , text
27- , time
28-
29- hs-source-dirs : src
25+ build-depends : base >= 4.8 && < 5.0
26+ , attoparsec >= 0.13.0 && < 0.14
27+ , bytestring >= 0.10.8 && < 0.11
28+ , heredoc >= 0.2.0 && < 0.3
29+ , postgresql-simple >= 0.5.2 && < 0.6
30+ , template-haskell >= 2.11.0 && < 2.12
31+ , text >= 1.2.2 && < 1.3
32+ , time >= 1.6.0 && < 1.7
33+
34+ hs-source-dirs : src
3035 exposed-modules :
3136 Database.PostgreSQL.Simple.Bind
3237 Database.PostgreSQL.Simple.Bind.Types
@@ -35,9 +40,13 @@ library
3540
3641 other-modules :
3742 Database.PostgreSQL.Simple.Bind.Implementation
38-
43+
3944 default-language : Haskell2010
4045
46+ if flag(dev)
47+ ghc-options : -Wall -Werror
48+ else
49+ ghc-options : -O2 -Wall
4150
4251
4352test-suite tests
@@ -48,17 +57,21 @@ test-suite tests
4857
4958 ghc-options : -Wall
5059
51- build-depends : base
52- , bytestring
60+ build-depends : base >= 4.8 && < 5.0
61+ , bytestring >= 0.10.8 && < 0.11
5362 , HUnit
54- , postgresql-simple
63+ , postgresql-simple >= 0.5.2 && < 0.6
5564 , postgresql-simple-bind
56- , text
65+ , text >= 1.2.2 && < 1.3
5766
5867 default-language : Haskell2010
5968
69+ if flag(dev)
70+ ghc-options : -Wall -Werror
71+ else
72+ ghc-options : -O2 -Wall
73+
6074
61-
6275test-suite examples
6376 type : exitcode-stdio-1.0
6477
@@ -67,13 +80,18 @@ test-suite examples
6780
6881 ghc-options : -Wall
6982
70- build-depends : attoparsec
71- , base
72- , bytestring
83+ build-depends : base >= 4.8 && < 5.0
84+ , attoparsec >= 0.13.0 && < 0.14
85+ , bytestring >= 0.10.8 && < 0.11
7386 , case-conversion
7487 , HUnit
75- , postgresql-simple
88+ , postgresql-simple >= 0.5.2 && < 0.6
7689 , postgresql-simple-bind
77- , text
90+ , text >= 1.2.2 && < 1.3
7891
7992 default-language : Haskell2010
93+
94+ if flag(dev)
95+ ghc-options : -Wall -Wno-redundant-constraints -Werror
96+ else
97+ ghc-options : -O2 -Wall -Wno-redundant-constraints
0 commit comments