packages feed

network-address-0.2.0: network-address.cabal

Name:                network-address
Version:             0.2.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
Cabal-version:       >=1.9.2

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

Flag benchmark
  Description:  Build benchmarking 
  Default:      False

Library
  Exposed-modules:
    Data.Network.Address
    Data.Network.Address.IP

  Build-depends:
    base == 4.*,
    Cabal >= 1.9.2 && < 1.11

test-suite test-package
  Type:           exitcode-stdio-1.0
  Main-is:        Test.hs
  Build-depends:
    base == 4.*,
    Cabal >= 1.9.2 && < 1.11,
    QuickCheck == 2.4.*,
    test-framework == 0.4.*,
    test-framework-quickcheck2 == 0.2.*

Executable benchmark
  Main-is:          Benchmark.hs
  if flag(benchmark)
    Buildable:      True
  else
    Buildable:      False
  Build-depends:
    base == 4.*,
    Cabal >= 1.9.2 && < 1.11,
    criterion == 0.5.0.*