packages feed

iproute-1.8.0: iproute.cabal

cabal-version: 3.0
name:          iproute
version:       1.8.0
license:       BSD-3-Clause
license-file:  LICENSE
maintainer:    Kazu Yamamoto <kazu@iij.ad.jp>
author:        Kazu Yamamoto <kazu@iij.ad.jp>
tested-with:
    ghc ==9.2.8 ghc ==9.4.8 ghc ==9.6.7 ghc ==9.8.4 ghc ==9.10.3
    ghc ==9.12.4

homepage:      http://www.mew.org/~kazu/proj/iproute/
synopsis:      IP Routing Table
description:
    IP Routing Table is a tree of IP ranges
    to search one of them on the longest
    match base. It is a kind of TRIE with one
    way branching removed. Both IPv4 and IPv6
    are supported.

category:      Algorithms, Network
build-type:    Simple

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

library
    exposed-modules:
        Data.IP
        Data.IP.Builder
        Data.IP.Internal
        Data.IP.RouteTable
        Data.IP.RouteTable.Internal

    other-modules:
        Data.IP.Addr
        Data.IP.Mask
        Data.IP.Op
        Data.IP.Range

    default-language:   Haskell2010
    default-extensions: Strict StrictData
    ghc-options:        -Wall
    build-depends:
        base >=4.16 && <5,
        appar,
        bytestring,
        network

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:
        RouteTableSpec
        BuilderSpec
        IPSpec

    default-language:   Haskell2010
    ghc-options:        -Wall
    build-depends:
        base >=4.16 && <5,
        hspec,
        QuickCheck,
        appar,
        bytestring,
        network,
        safe,
        iproute