git.iko.soy/typeable/servant
on master help sign in
cookbook projects: add (lower) bounds for non servant deps
commit8e0cb615ad3bbdd8b192ce7fbb49182e1c9e9c11 authorAlp Mestanogullari <alpmestan@gmail.com> dateWed 27 Dec 2017, 01:33 (9 years ago) parent40c1315
8 files changed+44−44
doc/cookbook/basic-auth/basic-auth.cabal+7−7 doc/cookbook/db-postgres-pool/db-postgres-pool.cabal+9−9 doc/cookbook/db-sqlite-simple/db-sqlite-simple.cabal+7−7 doc/cookbook/file-upload/file-upload.cabal+7−7 doc/cookbook/https/https.cabal+3−3 doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal+8−8 doc/cookbook/structuring-apis/structuring-apis.cabal+2−2 nix/shell.nix+1−1
doc/cookbook/basic-auth/basic-auth.cabal+7−7
@@ -14,17 +14,17 @@ executable cookbook-basic-auth
1414 buildable: False
1515 main-is: BasicAuth.lhs
1616 build-depends: base == 4.*
17− , text
18− , aeson
19− , containers
17+ , text >= 1.2
18+ , aeson >= 1.2
19+ , containers >= 0.5
2020 , servant
2121 , servant-client
2222 , servant-server
23− , warp
24− , wai
25− , http-types < 0.11
23+ , warp >= 3.2
24+ , wai >= 3.2
25+ , http-types >= 0.10
2626 , markdown-unlit >= 0.4
27− , http-client
27+ , http-client >= 0.5
2828 default-language: Haskell2010
2929 ghc-options: -Wall -pgmL markdown-unlit
3030 build-tool-depends: markdown-unlit:markdown-unlit
doc/cookbook/db-postgres-pool/db-postgres-pool.cabal+9−9
@@ -14,19 +14,19 @@ executable cookbook-db-postgres-pool
1414 buildable: False
1515 main-is: PostgresPool.lhs
1616 build-depends: base == 4.*
17− , bytestring
18− , text
19− , aeson
17+ , bytestring >= 0.10
18+ , text >= 1.2
19+ , aeson >= 1.2
2020 , servant
2121 , servant-client
2222 , servant-server
23− , warp
24− , wai
25− , http-types < 0.11
23+ , warp >= 3.2
24+ , wai >= 3.2
25+ , http-types >= 0.10
2626 , markdown-unlit >= 0.4
27− , http-client
28− , postgresql-simple
29− , resource-pool
27+ , http-client >= 0.5
28+ , postgresql-simple >= 0.5
29+ , resource-pool >= 0.2
3030 default-language: Haskell2010
3131 ghc-options: -Wall -pgmL markdown-unlit
3232 build-tool-depends: markdown-unlit:markdown-unlit
doc/cookbook/db-sqlite-simple/db-sqlite-simple.cabal+7−7
@@ -14,17 +14,17 @@ executable cookbook-db-sqlite-simple
1414 buildable: False
1515 main-is: DBConnection.lhs
1616 build-depends: base == 4.*
17− , text
18− , aeson
17+ , text >= 1.2
18+ , aeson >= 1.2
1919 , servant
2020 , servant-client
2121 , servant-server
22− , warp
23− , wai
24− , http-types < 0.11
22+ , warp >= 3.2
23+ , wai >= 3.2
24+ , http-types >= 0.10
2525 , markdown-unlit >= 0.4
26− , http-client
27− , sqlite-simple
26+ , http-client >= 0.5
27+ , sqlite-simple >= 0.4
2828 default-language: Haskell2010
2929 ghc-options: -Wall -pgmL markdown-unlit
3030 build-tool-depends: markdown-unlit:markdown-unlit
doc/cookbook/file-upload/file-upload.cabal+7−7
@@ -14,17 +14,17 @@ executable cookbook-file-upload
1414 buildable: False
1515 main-is: FileUpload.lhs
1616 build-depends: base == 4.*
17− , text
18− , mtl
19− , network
20− , bytestring
17+ , text >= 1.2
18+ , mtl >= 2.2
19+ , network >= 2.6
20+ , bytestring >= 0.10
2121 , servant
2222 , servant-server
2323 , servant-multipart
24− , warp
25− , wai
24+ , warp >= 3.2
25+ , wai >= 3.2
2626 , markdown-unlit >= 0.4
27− , http-client
27+ , http-client >= 0.5
2828 default-language: Haskell2010
2929 ghc-options: -Wall -pgmL markdown-unlit
3030 build-tool-depends: markdown-unlit:markdown-unlit
doc/cookbook/https/https.cabal+3−3
@@ -16,9 +16,9 @@ executable cookbook-https
1616 build-depends: base == 4.*
1717 , servant
1818 , servant-server
19− , wai
20− , warp
21− , warp-tls
19+ , wai >= 3.2
20+ , warp >= 3.2
21+ , warp-tls >= 3.2
2222 , markdown-unlit >= 0.4
2323 default-language: Haskell2010
2424 ghc-options: -Wall -pgmL markdown-unlit
doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal+8−8
@@ -17,20 +17,20 @@ executable cookbook-jwt-and-basic-auth
1717 buildable: False
1818 main-is: JWTAndBasicAuth.lhs
1919 build-depends: base == 4.*
20− , text
21− , aeson
22− , containers
20+ , text >= 1.2
21+ , aeson >= 1.2
22+ , containers >= 0.5
2323 , servant
2424 , servant-client
2525 , servant-server
2626 , servant-auth
2727 , servant-auth-server
28− , warp
29− , wai
30− , http-types < 0.11
28+ , warp >= 3.2
29+ , wai >= 3.2
30+ , http-types >= 0.10
3131 , markdown-unlit >= 0.4
32− , http-client
33− , bytestring
32+ , http-client >= 0.5
33+ , bytestring >= 0.10
3434 default-language: Haskell2010
3535 ghc-options: -Wall -pgmL markdown-unlit
3636 build-tool-depends: markdown-unlit:markdown-unlit
doc/cookbook/structuring-apis/structuring-apis.cabal+2−2
@@ -14,10 +14,10 @@ executable cookbook-structuring-apis
1414 buildable: False
1515 main-is: StructuringApis.lhs
1616 build-depends: base == 4.*
17− , aeson
17+ , aeson >= 1.2
1818 , servant
1919 , servant-server
20− , warp
20+ , warp >= 3.2
2121 , markdown-unlit >= 0.4
2222 default-language: Haskell2010
2323 ghc-options: -Wall -pgmL markdown-unlit
nix/shell.nix+1−1
@@ -12,7 +12,7 @@ in
1212
1313stdenv.mkDerivation {
1414 name = "servant-dev";
15− buildInputs = [ ghc zlib ]
15+ buildInputs = [ ghc zlib python3 wget ]
1616 ++ (if tutorial then [docstuffs postgresql] else []);
1717 shellHook = ''
1818 eval $(grep export ${ghc}/bin/ghc)