packages feed

network-control-0.1.1: network-control.cabal

cabal-version:   3.0
name:            network-control
version:         0.1.1
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

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