packages feed

dns-patterns-0.1: dns-patterns.cabal

cabal-version:      3.0
name:               dns-patterns
version:            0.1
author:             Victor Nawothnig
maintainer:         Victor Nawothnig (dminuoso@icloud.com)
copyright:          (c) 2022 Wobcom GmbH
bug-reports:        https://gitlab.com/wobcom/haskell/dns-patterns
license:            BSD-3-Clause
license-file:       LICENSE
category:           Network
description:
        See the main module "Network.DNS.Pattern" for full documentation

synopsis:           DNS name parsing and pattern matching utilities
extra-source-files: CHANGELOG.md


common all
    build-depends:    base ^>= { 4.12.0.0, 4.13.0.0, 4.14.1.0, 4.15.0.0 }
                    , attoparsec ^>= { 0.13.2.5, 0.14.4 }
                    , text ^>= { 1.2.4 }
                    , bytestring ^>= { 0.10.12 }

library
    import:           all
    exposed-modules:  Network.DNS.Pattern
    build-depends:    parser-combinators ^>= { 1.3.0 }
    hs-source-dirs:   lib
    ghc-options:      -Wall -Wcompat
    default-language: Haskell2010

test-suite tests
    import:           all
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    build-depends:    HUnit
                    , dns-patterns
    hs-source-dirs:   test
    default-language: Haskell2010

source-repository head
  type:     git
  location: git@gitlab.com:wobcom/haskell/dns-patterns.git