Bring packages up to date (#722)

* Bring packages up to date

* New LTS includes deps now

Use stack to select most versions

* Alphabetize packages

* Strip down packages

Switch tests to protolude

* Appease cabal check with base version constraint
This commit is contained in:
Joe Nelson
2016-10-19 22:25:58 -07:00
committed by GitHub
parent 726b2b9d18
commit 74e68408e6
19 changed files with 72 additions and 123 deletions
+31 -89
View File
@@ -23,119 +23,83 @@ Flag CI
executable postgrest
main-is: Main.hs
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes, NoImplicitPrelude
default-extensions: OverloadedStrings, QuasiQuotes, NoImplicitPrelude
ghc-options:
-threaded
-rtsopts
"-with-rtsopts=-N -I2"
default-language: Haskell2010
build-depends: aeson (>= 0.8 && < 0.10) || (>= 0.11 && < 0.12)
, auto-update
, base >= 4.8 && < 6
, bytestring
, bytestring-tree-builder == 0.2.7
, case-insensitive
, cassava
, containers
, contravariant
, errors
, hasql == 0.19.12
, hasql-pool == 0.4.1
, hasql-transaction == 0.4.5.1
, http-types >= 0.9 && < 0.10
, interpolatedstring-perl6
, jwt
, lens >=3.8 && < 5.0
, lens-aeson >= 1.0.0.0 && < 1.1.0.0
, mtl
, optparse-applicative >= 0.11 && < 0.13
, parsec
, postgresql-binary == 0.9.0.1
build-depends: auto-update
, base
, hasql
, hasql-pool
, postgrest
, regex-tdfa
, safe >= 0.3 && < 0.4
, scientific
, protolude
, text
, time
, transformers
, unordered-containers
, vector
, wai >= 3.0.1
, wai-cors
, wai-extra
, wai-middleware-static >= 0.6.0
, warp >= 3.1.0
, insert-ordered-containers >= 0.1.0.1
, swagger2 >= 2.1
, network-uri >= 2.6.1.0
, HTTP
, Ranged-sets
, protolude >= 0.1.5 && < 0.2.0
, warp
if !os(windows)
build-depends: unix >= 2.7 && < 3
build-depends: unix
hs-source-dirs: main
library
default-language: Haskell2010
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes, NoImplicitPrelude
default-extensions: OverloadedStrings, QuasiQuotes, NoImplicitPrelude
build-depends: aeson
, base
, base >= 4.8 && < 6
, bytestring
, case-insensitive
, cassava
, containers
, contravariant
, errors
, hasql
, hasql-transaction
, hasql-pool
, hasql-pool == 0.4.1
, hasql-transaction == 0.4.5.1
, HTTP
, http-types
, insert-ordered-containers
, interpolatedstring-perl6
, jwt
, lens
, lens-aeson
, mtl
, network-uri
, optparse-applicative
, parsec
, protolude
, Ranged-sets == 0.3.0
, regex-tdfa
, safe
, scientific
, swagger2
, text
, time
, unordered-containers
, vector
, HTTP
, Ranged-sets
, wai >= 3.0.1
, wai
, wai-cors
, wai-extra
, wai-middleware-static >= 0.6.0
, warp >= 3.1.0
, insert-ordered-containers >= 0.1.0.1
, swagger2 >= 2.1
, protolude >= 0.1.5 && < 0.2.0
, network-uri >= 2.6.1.0
, wai-middleware-static
Other-Modules: Paths_postgrest
Exposed-Modules: PostgREST.App
Exposed-Modules: PostgREST.ApiRequest
, PostgREST.App
, PostgREST.Auth
, PostgREST.Config
, PostgREST.DbStructure
, PostgREST.Error
, PostgREST.Middleware
, PostgREST.OpenAPI
, PostgREST.Parsers
, PostgREST.DbStructure
, PostgREST.QueryBuilder
, PostgREST.RangeQuery
, PostgREST.ApiRequest
, PostgREST.Types
, PostgREST.OpenAPI
hs-source-dirs: src
Test-Suite spec
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes
default-extensions: OverloadedStrings, QuasiQuotes, NoImplicitPrelude
ghc-options: -threaded -rtsopts -with-rtsopts=-N
Hs-Source-Dirs: test
Main-Is: Main.hs
@@ -145,63 +109,41 @@ Test-Suite spec
, Feature.DeleteSpec
, Feature.InsertSpec
, Feature.NoJwtSpec
, Feature.QuerySpec
, Feature.ProxySpec
, Feature.QueryLimitedSpec
, Feature.QuerySpec
, Feature.RangeSpec
, Feature.StructureSpec
, Feature.UnicodeSpec
, SpecHelper
, TestTypes
Build-Depends: aeson
, auto-update
, aeson-qq
, async
, auto-update
, base
, protolude
, base64-string
, bytestring
, case-insensitive
, cassava
, containers
, contravariant
, errors
, hasql
, hasql-pool
, hasql-transaction
, heredoc
, hjsonpointer
, hjsonschema
, hspec
, hspec-wai
, hspec-wai-json
, http-types
, interpolatedstring-perl6
, jwt
, lens
, lens-aeson
, monad-control
, mtl
, optparse-applicative
, parsec
, postgrest
, process
, protolude
, regex-tdfa
, safe
, scientific
, string-conversions
, text
, time
, transformers
, transformers-base
, unordered-containers
, vector
, wai
, wai-cors
, wai-extra
, wai-middleware-static
, warp
, insert-ordered-containers
, hjsonpointer
, hjsonschema
, swagger2
, network-uri
, HTTP
, Ranged-sets