network/network-uri split
This commit is contained in:
parent
a9f526bb39
commit
a2d118e236
@ -1,5 +1,5 @@
|
||||
name: yesod-form
|
||||
version: 1.3.15
|
||||
version: 1.3.15.1
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
@ -12,6 +12,10 @@ build-type: Simple
|
||||
homepage: http://www.yesodweb.com/
|
||||
description: Form handling support for Yesod Web Framework
|
||||
|
||||
flag network-uri
|
||||
description: Get Network.URI from the network-uri package
|
||||
default: True
|
||||
|
||||
library
|
||||
build-depends: base >= 4 && < 5
|
||||
, yesod-core >= 1.2 && < 1.3
|
||||
@ -27,7 +31,6 @@ library
|
||||
, data-default
|
||||
, xss-sanitize >= 0.3.0.1
|
||||
, blaze-builder >= 0.2.1.4
|
||||
, network >= 2.2
|
||||
, email-validate >= 1.0
|
||||
, bytestring >= 0.9.1.4
|
||||
, text >= 0.9
|
||||
@ -40,6 +43,11 @@ library
|
||||
, aeson
|
||||
, resourcet
|
||||
|
||||
if flag(network-uri)
|
||||
build-depends: network-uri >= 2.6
|
||||
else
|
||||
build-depends: network < 2.6
|
||||
|
||||
exposed-modules: Yesod.Form
|
||||
Yesod.Form.Types
|
||||
Yesod.Form.Functions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user