File: crypto-token.cabal

package info (click to toggle)
haskell-crypto-token 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 68 kB
  • sloc: haskell: 246; makefile: 3
file content (47 lines) | stat: -rw-r--r-- 1,225 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
cabal-version: >=1.10
name:          crypto-token
version:       0.1.2
license:       BSD3
license-file:  LICENSE
maintainer:    Kazu Yamamoto <kazu@iij.ad.jp>
author:        Kazu Yamamoto <kazu@iij.ad.jp>
synopsis:      crypto tokens
description:   Encrypted tokens/tickets to keep state in the client side.
category:      Cryptography, Network
build-type:    Simple

source-repository head
    type:     git
    location: https://github.com/kazu-yamamoto/crypto-token

library
    exposed-modules:  Crypto.Token
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base >=4.9 && <5,
        array,
        bytestring,
        crypton,
        memory,
        network-byte-order

    if impl(ghc >=8)
        default-extensions: Strict StrictData

test-suite spec
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    build-tool-depends: hspec-discover:hspec-discover
    hs-source-dirs:     test
    other-modules:
        TokenSpec

    default-language:   Haskell2010
    default-extensions: Strict StrictData
    ghc-options:        -Wall -threaded -rtsopts
    build-depends:
        base >=4.9 && <5,
        bytestring,
        crypto-token,
        hspec