File: package.yaml

package info (click to toggle)
haskell-sandi 0.5-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 416 kB
  • sloc: haskell: 1,613; ansic: 1,519; makefile: 3
file content (74 lines) | stat: -rw-r--r-- 1,444 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
67
68
69
70
71
72
73
74
name: sandi
version: 0.5
synopsis: Data encoding library
description: >-
  Reasonably fast data encoding library.
maintainer: Magnus Therning <magnus@therning.org>
license: BSD3
category: Codec, Conduit
extra-source-files:
  - package.yaml
  - csrc/*.h

git: https://github.com/magthe/sandi.git

flags:
  with-conduit:
    manual: True
    default: True

library:
  source-dirs:
    - src
  c-sources:
    - csrc/codec.c
  cc-options:
    - -fPIC
    - -Wall
    - -Wextra
  dependencies:
    - base <5
    - bytestring
  when:
    - condition: flag(with-conduit)
      dependencies:
        - conduit
        - exceptions
      exposed-modules:
        - Data.Conduit.Codec.Base16
        - Data.Conduit.Codec.Base32
        - Data.Conduit.Codec.Base32Hex
        - Data.Conduit.Codec.Base64
        - Data.Conduit.Codec.Base64Url
        - Data.Conduit.Codec.Base85
        - Data.Conduit.Codec.QuotedPrintable
        - Data.Conduit.Codec.Uu
        - Data.Conduit.Codec.Xx
        - Data.Conduit.Codec.Yenc
      other-modules:
        - Data.Conduit.Codec.Util

tests:
  sandi-tests:
    source-dirs:
      - test-src
    main: Main.hs
    dependencies:
      - sandi
      - base
      - bytestring
      - tasty
      - tasty-hunit
      - tasty-quickcheck
      - tasty-th

benchmarks:
  sandi-bench:
    source-dirs:
      - bench-src
    main: Main.hs
    dependencies:
      - sandi
      - base
      - bytestring
      - criterion