~ubuntu-branches/ubuntu/wily/haskell-sandi/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/older-base.diff/sandi.cabal

  • Committer: Package Import Robot
  • Author(s): Clint Adams
  • Date: 2014-06-06 11:22:20 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140606112220-s0c3ngtrz80v124g
Tags: 0.3.0-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
name: sandi
 
2
version: 0.3.0
 
3
license: BSD3
 
4
license-file: LICENSE
 
5
cabal-version: >= 1.8
 
6
build-type: Simple
 
7
author: Magnus Therning
 
8
maintainer: magnus@therning.org
 
9
homepage: http://hackage.haskell.org/package/sandi
 
10
copyright: Magnus Therning, 2012
 
11
category: Codec Conduit
 
12
synopsis: Data encoding library
 
13
description: Reasonably fast data encoding library.
 
14
extra-source-files: csrc/*.h
 
15
 
 
16
source-repository head
 
17
    type: git
 
18
    location: https://github.com/magthe/sandi
 
19
 
 
20
library
 
21
    hs-source-dirs: src
 
22
    c-sources: csrc/codec.c
 
23
    include-dirs: csrc
 
24
    ghc-options: -Wall
 
25
    cc-options: -Wall -Wextra
 
26
    build-depends:
 
27
        base ==4.7.*,
 
28
        bytestring ==0.10.*,
 
29
        conduit ==1.1.*,
 
30
        exceptions ==0.6.*
 
31
    exposed-modules:
 
32
            Codec.Binary.Base16
 
33
            Codec.Binary.Base32
 
34
            Codec.Binary.Base32Hex
 
35
            Codec.Binary.Base64
 
36
            Codec.Binary.Base64Url
 
37
            Codec.Binary.Base85
 
38
            Codec.Binary.QuotedPrintable
 
39
            Codec.Binary.Uu
 
40
            Codec.Binary.Xx
 
41
            Codec.Binary.Yenc
 
42
            Data.Conduit.Codec.Base16
 
43
            Data.Conduit.Codec.Base32
 
44
            Data.Conduit.Codec.Base32Hex
 
45
            Data.Conduit.Codec.Base64
 
46
            Data.Conduit.Codec.Base64Url
 
47
            Data.Conduit.Codec.Base85
 
48
            Data.Conduit.Codec.QuotedPrintable
 
49
            Data.Conduit.Codec.Uu
 
50
            Data.Conduit.Codec.Xx
 
51
            Data.Conduit.Codec.Yenc
 
52
    other-modules:
 
53
        Data.Conduit.Codec.Util
 
54
 
 
55
test-suite sandi-tests
 
56
    type: exitcode-stdio-1.0
 
57
    hs-source-dirs: src, test-src
 
58
    build-depends:
 
59
        sandi,
 
60
        base,
 
61
        bytestring,
 
62
        HUnit,
 
63
        tasty,
 
64
        tasty-hunit,
 
65
        tasty-quickcheck,
 
66
        tasty-th
 
67
    main-is: Main.hs
 
68
    other-modules:
 
69
        Codec.Binary.Base16Test
 
70
        Codec.Binary.Base32HexTest
 
71
        Codec.Binary.Base32Test
 
72
        Codec.Binary.Base64Test
 
73
        Codec.Binary.Base64UrlTest
 
74
        Codec.Binary.Base85Test
 
75
        Codec.Binary.QuotedPrintableTest
 
76
        Codec.Binary.UuTest
 
77
        Codec.Binary.XxTest
 
78
        Codec.Binary.YencTest
 
79
        Codec.TestUtils
 
80
 
 
81
benchmark sandi-bench
 
82
    type: exitcode-stdio-1.0
 
83
    hs-source-dirs:   src, bench-src
 
84
    build-depends:
 
85
        sandi,
 
86
        base,
 
87
        bytestring,
 
88
        criterion
 
89
    main-is: Main.hs
 
90
    other-modules:
 
91
        Codec.Binary.Base16Bench
 
92
        Codec.Binary.Base32Bench
 
93
        Codec.Binary.Base32HexBench
 
94
        Codec.Binary.Base64Bench
 
95
        Codec.Binary.Base64UrlBench
 
96
        Codec.Binary.Base85Bench
 
97
        Codec.Binary.QuotedPrintableBench
 
98
        Codec.Binary.UuBench
 
99
        Codec.Binary.XxBench
 
100
        Codec.Binary.YencBench