1name:            clientsession
2version:         0.9.1.2
3license:         MIT
4license-file:    LICENSE
5author:          Michael Snoyman <michael@snoyman.com>, Felipe Lessa <felipe.lessa@gmail.com>
6maintainer:      Michael Snoyman <michael@snoyman.com>
7synopsis:        Securely store session data in a client-side cookie.
8description:     Achieves security through AES-CTR encryption and
9                 Skein-MAC-512-256 authentication.  Uses Base64
10                 encoding to avoid any issues with characters.
11category:        Web
12stability:       stable
13cabal-version:   >= 1.8
14build-type:      Simple
15homepage:        http://github.com/yesodweb/clientsession/tree/master
16extra-source-files: tests/runtests.hs bench.hs ChangeLog.md README.md
17
18flag test
19  description: Build the executable to run unit tests
20  default: False
21
22executable clientsession-generate
23    main-is: generate.hs
24    build-depends:   base
25                   , clientsession
26    ghc-options:     -Wall
27    hs-source-dirs: bin
28
29library
30    build-depends:   base                >=4           && < 5
31                   , bytestring          >= 0.9
32                   , cereal              >= 0.3
33                   , directory           >= 1
34                   , tagged              >= 0.1
35                   , crypto-api          >= 0.8
36                   , skein               == 1.0.*
37                   , base64-bytestring   >= 0.1.1.1
38                   , entropy             >= 0.2.1
39                   , cprng-aes           >= 0.2
40                   , cipher-aes          >= 0.1.7
41                   , crypto-random
42                   , setenv
43    exposed-modules: Web.ClientSession
44    other-modules:   System.LookupEnv
45    ghc-options:     -Wall
46    hs-source-dirs:  src
47
48test-suite runtests
49    type: exitcode-stdio-1.0
50    build-depends:   base
51                   , bytestring          >= 0.9
52                   , hspec               >= 1.3
53                   , QuickCheck          >= 2
54                   , HUnit
55                   , transformers
56                   , containers
57                   , cereal
58                   -- finally, our own package
59                   , clientsession
60    ghc-options:     -Wall
61    hs-source-dirs:  tests
62    main-is:         runtests.hs
63
64source-repository head
65  type:     git
66  location: git://github.com/yesodweb/clientsession.git
67