File: network-control.cabal

package info (click to toggle)
haskell-network-control 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 88 kB
  • sloc: haskell: 355; makefile: 2
file content (47 lines) | stat: -rw-r--r-- 1,255 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:   3.0
name:            network-control
version:         0.1.7
license:         BSD-3-Clause
license-file:    LICENSE
maintainer:      kazu@iij.ad.jp
author:          Kazu Yamamoto
synopsis:        Library to control network protocols
description:     Common parts to control network protocols
category:        Network
build-type:      Simple
extra-doc-files: Changelog.md

library
    exposed-modules:    Network.Control
    other-modules:
        Network.Control.Flow
        Network.Control.LRUCache
        Network.Control.Rate

    default-language:   Haskell2010
    default-extensions: Strict StrictData
    ghc-options:        -Wall
    build-depends:
        base >=4.14 && <5,
        psqueues,
        unix-time

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:
        Network.Control.FlowSpec
        Network.Control.LRUCacheSpec

    default-language:   Haskell2010
    default-extensions: Strict StrictData
    ghc-options:        -Wall -threaded
    build-depends:
        base,
        hspec >=1.3,
        network-control,
        QuickCheck,
        pretty-simple,
        text