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