wip-servant-client-jsaddle
This commit is contained in:
parent
f53e4ef960
commit
0a237018de
2 changed files with 46 additions and 17 deletions
|
@ -53,3 +53,17 @@ allow-newer:
|
||||||
servant-quickcheck:servant, servant-quickcheck:servant-client, servant-quickcheck:servant-server,
|
servant-quickcheck:servant, servant-quickcheck:servant-client, servant-quickcheck:servant-server,
|
||||||
servant-quickcheck:hspec,
|
servant-quickcheck:hspec,
|
||||||
servant-quickcheck:http-client
|
servant-quickcheck:http-client
|
||||||
|
|
||||||
|
-- jsaddle
|
||||||
|
allow-newer:
|
||||||
|
jsaddle:aeson,
|
||||||
|
jsaddle:exceptions,
|
||||||
|
jsaddle:lens,
|
||||||
|
jsaddle-webkit2gtk:aeson,
|
||||||
|
jsaddle-webkit2gtk:haskell-gi-base,
|
||||||
|
jsaddle-dom:base-compat,
|
||||||
|
jsaddle-dom:lens
|
||||||
|
|
||||||
|
-- Ubuntu packages:
|
||||||
|
-- libgirepository1.0-dev
|
||||||
|
-- libwebkit2gtk-4.0-dev
|
||||||
|
|
|
@ -34,26 +34,41 @@ library
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Servant.Client.JSaddle
|
Servant.Client.JSaddle
|
||||||
Servant.Client.Internal.JSaddleXhrClient
|
Servant.Client.Internal.JSaddleXhrClient
|
||||||
|
|
||||||
|
-- Bundled with GHC: Lower bound to not force re-installs
|
||||||
|
-- text and mtl are bundled starting with GHC-8.4
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.7 && < 4.13
|
base >= 4.9 && < 4.13
|
||||||
, bytestring >= 0.10 && < 0.11
|
, bytestring >= 0.10.8.1 && < 0.11
|
||||||
, case-insensitive >= 1.2.0.0 && < 1.3.0.0
|
, containers >= 0.5.7.1 && < 0.6
|
||||||
, containers >= 0.5 && < 0.6
|
, mtl >= 2.2.2 && < 2.3
|
||||||
, exceptions >= 0.8 && < 0.11
|
, text >= 1.2.3.0 && < 1.3
|
||||||
, http-media
|
, transformers >= 0.5.2.0 && < 0.6
|
||||||
, http-types
|
|
||||||
, jsaddle
|
-- GHCJS dependencies
|
||||||
, jsaddle-dom
|
|
||||||
, monad-control >= 1.0.0.4 && < 1.1
|
|
||||||
, mtl >= 2.1 && < 2.3
|
|
||||||
, semigroupoids >= 4.3 && < 5.3
|
|
||||||
, servant-client-core == 0.13.*
|
|
||||||
, string-conversions >= 0.3 && < 0.5
|
|
||||||
, text
|
|
||||||
, transformers >= 0.3 && < 0.6
|
|
||||||
, transformers-base >= 0.4.4 && < 0.5
|
|
||||||
if impl(ghcjs)
|
if impl(ghcjs)
|
||||||
build-depends: ghcjs-base
|
build-depends: ghcjs-base
|
||||||
|
|
||||||
|
-- Servant dependencies.
|
||||||
|
-- Strict dependency on `servant-client-core` as we re-export things.
|
||||||
|
build-depends:
|
||||||
|
servant-client-core == 0.15.*
|
||||||
|
|
||||||
|
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
|
||||||
|
-- Here can be exceptions if we really need features from the newer versions.
|
||||||
|
build-depends:
|
||||||
|
case-insensitive >= 1.2.0.0 && < 1.3.0.0
|
||||||
|
, exceptions >= 0.10.0 && < 0.11
|
||||||
|
, http-media >= 0.7.1.3 && < 0.8
|
||||||
|
, http-types >= 0.12.2 && < 0.13
|
||||||
|
, jsaddle >= 0.9.5.0 && < 0.10
|
||||||
|
, jsaddle-dom >= 0.9.2.0 && < 0.10
|
||||||
|
, monad-control >= 1.0.2.3 && < 1.1
|
||||||
|
, semigroupoids >= 5.3.1 && < 5.4
|
||||||
|
, string-conversions >= 0.4.0.1 && < 0.5
|
||||||
|
, transformers-base >= 0.4.4 && < 0.5
|
||||||
|
|
||||||
|
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
Loading…
Reference in a new issue