1+ cabal-version :       3.0
12name :                postgres-websockets
23version :             0.11.2.2 
34synopsis :            Middleware to map LISTEN/NOTIFY messages to Websockets
45description :         WAI middleware that adds websockets capabilites on top of PostgreSQL's asynchronous notifications using LISTEN and NOTIFY commands. Fully functioning server included.
56homepage :            https://github.com/diogob/postgres-websockets#readme
6- license :             BSD3 
7+ license :             BSD-3-Clause 
78license-file :        LICENSE
89author :              Diogo Biazus
9101011copyright :           2016 Diogo Biazus
1112category :            Web, Database, PostgreSQL
1213build-type :          Simple
1314-- extra-source-files: 
14- cabal-version :       >= 1.10 
15+ 
16+ common  warnings 
17+     ghc-options : -Wall
18+ 
19+ common  language 
20+     default-language : Haskell2010
21+     default-extensions : OverloadedStrings, NoImplicitPrelude, LambdaCase, RecordWildCards, QuasiQuotes
1522
1623library 
24+   import :              warnings
25+   import :              language
1726  hs-source-dirs :      src
18-   ghc-options :         -Wall
1927  exposed-modules :     PostgresWebsockets
2028                     , PostgresWebsockets.Broadcast
2129                     , PostgresWebsockets.HasqlBroadcast
@@ -27,16 +35,16 @@ library
2735                     , PostgresWebsockets.Middleware
2836                     , PostgresWebsockets.Context
2937  build-depends :       base >=  4.7  &&  <  5 
30-                      , aeson >=  2.0  &&  <  2.2  
38+                      , aeson >=  2.0  &&  <  2.3  
3139                     , alarmclock >=  0.7.0.2  &&  <  0.8 
3240                     , auto-update >=  0.1.6  &&  <  0.2 
3341                     , base64-bytestring >=  1.0.0.3  &&  <  1.3 
3442                     , bytestring >=  0.11.5  &&  <  0.12 
3543                     , either >=  5.0.1.1  &&  <  5.1 
3644                     , envparse >=  0.5.0  &&  <  0.6 
37-                      , hasql >=   1.6.3   &&   <  1.7 
45+                      , hasql ^ >=  1.7 
3846                     , hasql-notifications >=  0.1.0.0  &&  <  0.3 
39-                      , hasql-pool >=  0.8   &&   <   0.10 
47+                      , hasql-pool ^ >=  1.2 
4048                     , http-types >=  0.12.3  &&  <  0.13 
4149                     , jose >=  0.11  &&  <  0.12 
4250                     , lens >=  5.2.3  &&  <  5.3 
@@ -57,20 +65,22 @@ library
5765                     , websockets >=  0.9  &&  <  0.13 
5866
5967  default-language :    Haskell2010
60-   default-extensions : OverloadedStrings, NoImplicitPrelude, LambdaCase, RecordWildCards
6168
6269executable  postgres-websockets 
70+   import :              warnings
71+   import :              language
6372  hs-source-dirs :      app
6473  main-is :             Main.hs
6574  other-modules :
66-   ghc-options :         -Wall - threaded -rtsopts -with-rtsopts=-N
75+   ghc-options :         -threaded -rtsopts -with-rtsopts=-N
6776  build-depends :       base >=  4.7  &&  <  5 
6877                     , postgres-websockets
6978                     , protolude >=  0.2.3  &&  <  0.4 
7079  default-language :    Haskell2010
71-   default-extensions : OverloadedStrings, NoImplicitPrelude, QuasiQuotes
7280
7381test-suite  postgres-websockets-test 
82+   import :              warnings
83+   import :              language
7484  type :                exitcode-stdio-1.0
7585  hs-source-dirs :      test
7686  main-is :             Spec.hs
@@ -81,10 +91,10 @@ test-suite postgres-websockets-test
8191  build-depends :       base
8292                     , protolude >=  0.2.3  &&  <  0.4 
8393                     , postgres-websockets
84-                      , hspec >=  2.7.1  &&  <  2.11  
85-                      , aeson >=  2.0  &&  <  2.2  
86-                      , hasql >=  0.19 
87-                      , hasql-pool >=  0.8   &&   <   0.10 
94+                      , hspec >=  2.7.1  &&  <  2.12  
95+                      , aeson >=  2.0  &&  <  2.3  
96+                      , hasql ^ >=  1.7 
97+                      , hasql-pool ^ >=  1.2 
8898                     , hasql-notifications >=  0.1.0.0  &&  <  0.3 
8999                     , http-types >=  0.9 
90100                     , time >=  1.8.0.2  &&  <  1.13 
@@ -95,9 +105,8 @@ test-suite postgres-websockets-test
95105                     , network >=  2.8.0.1  &&  <  3.2 
96106                     , lens >=  4.17.1  &&  <  5.3 
97107                     , lens-aeson >=  1.0.0  &&  <  1.3 
98-   ghc-options :         -Wall - threaded -rtsopts -with-rtsopts=-N
108+   ghc-options :         -threaded -rtsopts -with-rtsopts=-N
99109  default-language :    Haskell2010
100-   default-extensions : OverloadedStrings, NoImplicitPrelude
101110
102111source-repository  head 
103112  type :     git
0 commit comments