packages feed

network-address-0.3.0: network-address.cabal

Name:                network-address
Version:             0.3.0
Synopsis:            IP data structures and textual representation
Description:         A library for parsing, representing, computing and
                     transforming network addresses such a IPv4, IPv6
                     and subnetworks.
Homepage:            http://github.com/sebnow/haskell-network-address
License:             MIT
License-file:        LICENSE
Author:              Sebastian Nowicki
Maintainer:          sebnow@gmail.com
Category:            Data, Network
Build-type:          Simple
Extra-source-files:  README.md
Cabal-version:       >=1.10

Source-Repository head
    type:       git
    location:   https://github.com/sebnow/haskell-network-address.git

Flag benchmark
  Description:  Build benchmarking
  Default:      False

Library
  Exposed-modules:
    Data.Network.Address
    Data.Network.Address.IP
  Default-language: Haskell2010

  Build-depends:
    base == 4.*

test-suite test-package
  Type:           exitcode-stdio-1.0
  Main-is:        Test.hs
  Default-language: Haskell2010
  Other-modules:
    Data.Network.Address.IP
    Test.Data.Network.Address.IP
  Build-depends:
    base == 4.*,
    QuickCheck >= 2.4 && < 3.0,
    test-framework >= 0.4 && < 0.9,
    test-framework-quickcheck2 >= 0.2 && < 0.4

Executable benchmark
  Main-is:          Benchmark.hs
  Default-language: Haskell2010
  if flag(benchmark)
    Buildable:      True
    Build-depends:
      base == 4.*,
      criterion >= 0.5.0.0 && < 0.7,
      deepseq == 1.1.0.*
  else
    Buildable:      False