cookbook projects: add (lower) bounds for non servant deps
This commit is contained in:
parent
40c1315097
commit
8e0cb615ad
8 changed files with 44 additions and 44 deletions
|
@ -14,17 +14,17 @@ executable cookbook-basic-auth
|
|||
buildable: False
|
||||
main-is: BasicAuth.lhs
|
||||
build-depends: base == 4.*
|
||||
, text
|
||||
, aeson
|
||||
, containers
|
||||
, text >= 1.2
|
||||
, aeson >= 1.2
|
||||
, containers >= 0.5
|
||||
, servant
|
||||
, servant-client
|
||||
, servant-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types < 0.11
|
||||
, warp >= 3.2
|
||||
, wai >= 3.2
|
||||
, http-types >= 0.10
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, http-client >= 0.5
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
build-tool-depends: markdown-unlit:markdown-unlit
|
||||
|
|
|
@ -14,19 +14,19 @@ executable cookbook-db-postgres-pool
|
|||
buildable: False
|
||||
main-is: PostgresPool.lhs
|
||||
build-depends: base == 4.*
|
||||
, bytestring
|
||||
, text
|
||||
, aeson
|
||||
, bytestring >= 0.10
|
||||
, text >= 1.2
|
||||
, aeson >= 1.2
|
||||
, servant
|
||||
, servant-client
|
||||
, servant-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types < 0.11
|
||||
, warp >= 3.2
|
||||
, wai >= 3.2
|
||||
, http-types >= 0.10
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, postgresql-simple
|
||||
, resource-pool
|
||||
, http-client >= 0.5
|
||||
, postgresql-simple >= 0.5
|
||||
, resource-pool >= 0.2
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
build-tool-depends: markdown-unlit:markdown-unlit
|
||||
|
|
|
@ -14,17 +14,17 @@ executable cookbook-db-sqlite-simple
|
|||
buildable: False
|
||||
main-is: DBConnection.lhs
|
||||
build-depends: base == 4.*
|
||||
, text
|
||||
, aeson
|
||||
, text >= 1.2
|
||||
, aeson >= 1.2
|
||||
, servant
|
||||
, servant-client
|
||||
, servant-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types < 0.11
|
||||
, warp >= 3.2
|
||||
, wai >= 3.2
|
||||
, http-types >= 0.10
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, sqlite-simple
|
||||
, http-client >= 0.5
|
||||
, sqlite-simple >= 0.4
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
build-tool-depends: markdown-unlit:markdown-unlit
|
||||
|
|
|
@ -14,17 +14,17 @@ executable cookbook-file-upload
|
|||
buildable: False
|
||||
main-is: FileUpload.lhs
|
||||
build-depends: base == 4.*
|
||||
, text
|
||||
, mtl
|
||||
, network
|
||||
, bytestring
|
||||
, text >= 1.2
|
||||
, mtl >= 2.2
|
||||
, network >= 2.6
|
||||
, bytestring >= 0.10
|
||||
, servant
|
||||
, servant-server
|
||||
, servant-multipart
|
||||
, warp
|
||||
, wai
|
||||
, warp >= 3.2
|
||||
, wai >= 3.2
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, http-client >= 0.5
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
build-tool-depends: markdown-unlit:markdown-unlit
|
||||
|
|
|
@ -16,9 +16,9 @@ executable cookbook-https
|
|||
build-depends: base == 4.*
|
||||
, servant
|
||||
, servant-server
|
||||
, wai
|
||||
, warp
|
||||
, warp-tls
|
||||
, wai >= 3.2
|
||||
, warp >= 3.2
|
||||
, warp-tls >= 3.2
|
||||
, markdown-unlit >= 0.4
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
|
|
|
@ -17,20 +17,20 @@ executable cookbook-jwt-and-basic-auth
|
|||
buildable: False
|
||||
main-is: JWTAndBasicAuth.lhs
|
||||
build-depends: base == 4.*
|
||||
, text
|
||||
, aeson
|
||||
, containers
|
||||
, text >= 1.2
|
||||
, aeson >= 1.2
|
||||
, containers >= 0.5
|
||||
, servant
|
||||
, servant-client
|
||||
, servant-server
|
||||
, servant-auth
|
||||
, servant-auth-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types < 0.11
|
||||
, warp >= 3.2
|
||||
, wai >= 3.2
|
||||
, http-types >= 0.10
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, bytestring
|
||||
, http-client >= 0.5
|
||||
, bytestring >= 0.10
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
build-tool-depends: markdown-unlit:markdown-unlit
|
||||
|
|
|
@ -14,10 +14,10 @@ executable cookbook-structuring-apis
|
|||
buildable: False
|
||||
main-is: StructuringApis.lhs
|
||||
build-depends: base == 4.*
|
||||
, aeson
|
||||
, aeson >= 1.2
|
||||
, servant
|
||||
, servant-server
|
||||
, warp
|
||||
, warp >= 3.2
|
||||
, markdown-unlit >= 0.4
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
|
|
|
@ -12,7 +12,7 @@ in
|
|||
|
||||
stdenv.mkDerivation {
|
||||
name = "servant-dev";
|
||||
buildInputs = [ ghc zlib ]
|
||||
buildInputs = [ ghc zlib python3 wget ]
|
||||
++ (if tutorial then [docstuffs postgresql] else []);
|
||||
shellHook = ''
|
||||
eval $(grep export ${ghc}/bin/ghc)
|
||||
|
|
Loading…
Reference in a new issue