File: dns.cabal

package info (click to toggle)
haskell-dns 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: haskell: 3,298; ansic: 46; makefile: 2
file content (109 lines) | stat: -rw-r--r-- 2,829 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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
cabal-version:      2.0
name:               dns
version:            4.2.0
license:            BSD3
license-file:       LICENSE
maintainer:         Kazu Yamamoto <kazu@iij.ad.jp>
author:             Kazu Yamamoto <kazu@iij.ad.jp>
tested-with:
    ghc ==8.0.2 ghc ==8.2.2 ghc ==8.4.4 ghc ==8.6.5 ghc ==8.8.1

synopsis:           DNS library in Haskell
description:
    A thread-safe DNS library for both clients and servers written
    in pure Haskell.

category:           Network
build-type:         Simple
extra-source-files:
    Changelog.md
    cabal.project
    cbits/dns.c

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

library
    exposed-modules:
        Network.DNS
        Network.DNS.Lookup
        Network.DNS.LookupRaw
        Network.DNS.Resolver
        Network.DNS.Utils
        Network.DNS.Types
        Network.DNS.Decode
        Network.DNS.Encode
        Network.DNS.IO

    other-modules:    Network.DNS.Transport
                      Network.DNS.Imports
                      Network.DNS.Types.Internal
                      Network.DNS.Types.Resolver
                      Network.DNS.Resolver.Internal
                      Network.DNS.Decode.Parsers
                      Network.DNS.Decode.Internal
                      Network.DNS.Encode.Builders
                      Network.DNS.Encode.Internal
                      Network.DNS.StateBinary
                      Network.DNS.Memo
                      Network.DNS.Base32Hex
    hs-source-dirs:   . internal
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base >=4 && <5,
        array,
        async,
        attoparsec,
        auto-update,
        base16-bytestring,
        base64-bytestring,
        bytestring,
        case-insensitive,
        containers,
        crypton,
        hourglass,
        iproute >=1.3.2,
        mtl,
        network >=2.3,
        psqueues

test-suite network-tests
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    build-tool-depends: hspec-discover:hspec-discover
    hs-source-dirs:     test2
    other-modules:
        LookupSpec
        IOSpec

    default-language:   Haskell2010
    ghc-options:        -Wall
    build-depends:
        dns,
        base,
        hspec,
        network

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

    default-language:   Haskell2010
    ghc-options:        -Wall
    build-depends:
        dns,
        QuickCheck >=2.9,
        base,
        bytestring,
        case-insensitive,
        hspec,
        iproute >=1.3.2,
        word8