File: yesod-form.cabal

package info (click to toggle)
haskell-yesod-form 1.7.6-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 272 kB
  • sloc: haskell: 2,421; makefile: 4
file content (87 lines) | stat: -rw-r--r-- 3,434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
cabal-version:   >= 1.10
name:            yesod-form
version:         1.7.6
license:         MIT
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        Form handling support for Yesod Web Framework
category:        Web, Yesod
stability:       Stable
build-type:      Simple
homepage:        http://www.yesodweb.com/
description:     API docs and the README are available at <http://www.stackage.org/package/yesod-form>.  Third-party packages which you can find useful: <http://hackage.haskell.org/package/yesod-form-richtext yesod-form-richtext> - richtext form fields (currently it provides only Summernote support).
extra-source-files: ChangeLog.md
                    README.md

flag network-uri
  description: Get Network.URI from the network-uri package
  default: True

library
    default-language: Haskell2010
    build-depends:   base                  >= 4.10     && < 5
                   , aeson
                   , attoparsec            >= 0.10
                   , blaze-builder         >= 0.2.1.4
                   , blaze-html            >= 0.5
                   , blaze-markup          >= 0.5.1
                   , byteable
                   , bytestring            >= 0.9.1.4
                   , containers            >= 0.2
                   , data-default
                   , email-validate        >= 1.0
                   , persistent
                   , resourcet
                   , shakespeare           >= 2.0
                   , text                  >= 0.9
                   , time                  >= 1.1.4
                   , transformers          >= 0.2.2
                   , wai                   >= 1.3
                   , xss-sanitize          >= 0.3.0.1
                   , yesod-core            >= 1.6      && < 1.7
                   , yesod-persistent      >= 1.6      && < 1.7

    if flag(network-uri)
      build-depends: network-uri >= 2.6

    exposed-modules: Yesod.Form
                     Yesod.Form.Types
                     Yesod.Form.Functions
                     Yesod.Form.Bootstrap3
                     Yesod.Form.Input
                     Yesod.Form.Fields
                     Yesod.Form.Jquery
                     Yesod.Form.Nic
                     Yesod.Form.MassInput
                     Yesod.Form.I18n.English
                     Yesod.Form.I18n.Portuguese
                     Yesod.Form.I18n.Swedish
                     Yesod.Form.I18n.German
                     Yesod.Form.I18n.French
                     Yesod.Form.I18n.Norwegian
                     Yesod.Form.I18n.Japanese
                     Yesod.Form.I18n.Czech
                     Yesod.Form.I18n.Russian
                     Yesod.Form.I18n.Dutch
                     Yesod.Form.I18n.Spanish
                     Yesod.Form.I18n.Chinese
                     Yesod.Form.I18n.Korean
                     Yesod.Form.I18n.Romanian
                     -- FIXME Yesod.Helpers.Crud
    ghc-options:     -Wall

test-suite test
    default-language: Haskell2010
    type: exitcode-stdio-1.0
    main-is: main.hs
    hs-source-dirs: test
    build-depends:          base
                          , yesod-form
                          , time
                          , hspec
                          , text

source-repository head
  type:     git
  location: https://github.com/yesodweb/yesod