http-server 1.0.4 → 1.0.5
raw patch · 1 files changed
+12/−4 lines, 1 filesdep +network-uridep ~network
Dependencies added: network-uri
Dependency ranges changed: network
Files
- http-server.cabal +12/−4
http-server.cabal view
@@ -1,5 +1,5 @@ name: http-server-version: 1.0.4+version: 1.0.5 category: Network synopsis: A library for writing Haskell web servers. description: A library for writing Haskell web servers.@@ -7,7 +7,7 @@ maintainer: diatchki@galois.com license: BSD3 license-file: LICENSE-homepage: http://code.galois.com/+homepage: https://github.com/GaloisInc/http-server cabal-version: >= 1.6 build-type: Simple @@ -17,6 +17,10 @@ example/*.hs example/*.cabal +flag network-uri+ description: Get Network.URI from the network-uri package+ default: True+ library exposed-modules: Network.HTTP.Server@@ -34,11 +38,15 @@ HTTP >= 4000.2.0 && < 5000, base >= 4 && < 5, mime >= 0.3 && < 2,- network >= 2.4.0.0 && < 3, url >= 2 && < 3, utf8-string >= 0.3.4 && < 2, text >= 1.0 + if flag(network-uri)+ build-depends: network-uri >= 2.6, network >= 2.6 && < 3+ else+ build-depends: network >= 2.4.0.0 && < 2.6+ if !os(windows) build-depends: unix >= 2 && < 3 CPP-options: -D_OS_UNIX@@ -50,4 +58,4 @@ source-repository head type: git- location: git://code.galois.com/http-server.git+ location: https://github.com/GaloisInc/http-server.git