File: clientsession.cabal

package info (click to toggle)
haskell-clientsession 0.9.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 96 kB
  • ctags: 1
  • sloc: haskell: 323; makefile: 5
file content (66 lines) | stat: -rw-r--r-- 2,356 bytes parent folder | download | duplicates (4)
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
name:            clientsession
version:         0.9.1.2
license:         MIT
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>, Felipe Lessa <felipe.lessa@gmail.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        Securely store session data in a client-side cookie.
description:     Achieves security through AES-CTR encryption and
                 Skein-MAC-512-256 authentication.  Uses Base64
                 encoding to avoid any issues with characters.
category:        Web
stability:       stable
cabal-version:   >= 1.8
build-type:      Simple
homepage:        http://github.com/yesodweb/clientsession/tree/master
extra-source-files: tests/runtests.hs bench.hs ChangeLog.md README.md

flag test
  description: Build the executable to run unit tests
  default: False

executable clientsession-generate
    main-is: generate.hs
    build-depends:   base
                   , clientsession
    ghc-options:     -Wall
    hs-source-dirs: bin

library
    build-depends:   base                >=4           && < 5
                   , bytestring          >= 0.9
                   , cereal              >= 0.3
                   , directory           >= 1
                   , tagged              >= 0.1
                   , crypto-api          >= 0.8
                   , skein               == 1.0.*
                   , base64-bytestring   >= 0.1.1.1
                   , entropy             >= 0.2.1
                   , cprng-aes           >= 0.2
                   , cipher-aes          >= 0.1.7
                   , crypto-random
                   , setenv
    exposed-modules: Web.ClientSession
    other-modules:   System.LookupEnv
    ghc-options:     -Wall
    hs-source-dirs:  src

test-suite runtests
    type: exitcode-stdio-1.0
    build-depends:   base
                   , bytestring          >= 0.9
                   , hspec               >= 1.3
                   , QuickCheck          >= 2
                   , HUnit
                   , transformers
                   , containers
                   , cereal
                   -- finally, our own package
                   , clientsession
    ghc-options:     -Wall
    hs-source-dirs:  tests
    main-is:         runtests.hs

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