packages feed

network-arbitrary-0.4.0.2: network-arbitrary.cabal

name:                network-arbitrary
version:             0.4.0.2
synopsis:            Arbitrary Instances for Network Types

description:         
  Arbitrary instances for Network types.

homepage:            https://github.com/alunduil/network-arbitrary
bug-reports:         https://github.com/alunduil/network-arbitrary/issues
license:             MIT
license-file:        LICENSE
author:              Alex Brandt
maintainer:          alunduil@gmail.com
copyright:           (c) 2018 Alex Brandt
category:            Testing
build-type:          Simple
cabal-version:       >= 1.10
tested-with:         GHC >= 7.6 && < 8.2.1 || > 8.2.1 && < 9.0

extra-source-files:
    ChangeLog.md
  , COPYRIGHT
  , LICENSE
  , README.md
  , Setup.hs

source-repository head
  type:     git
  location: https://github.com/alunduil/network-arbitrary
  branch:   develop

library
  default-language:    Haskell2010

  ghc-options: -Wall -fwarn-tabs -fwarn-monomorphism-restriction
               -fwarn-unused-do-bind

  hs-source-dirs:
      src

  exposed-modules:
      Network.Arbitrary
    , Network.HTTP.Media.MediaType.Arbitrary
    , Network.HTTP.Types.Method.Arbitrary 
    , Network.URI.Arbitrary

  other-modules:

  build-depends:
      base        >= 4.6 && < 4.13
    , bytestring  == 0.10.*
    , http-media  >= 0.6 && < 0.8
    , http-types  >= 0.9 && < 0.13
    , network-uri == 2.6.*
    , QuickCheck  >= 2.9 && < 2.13

  other-extensions:
      RecordWildCards

test-suite network-arbitrary-tests
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs

  ghc-options: -Wall -fwarn-tabs -fwarn-monomorphism-restriction
               -fwarn-unused-do-bind

  hs-source-dirs:
      src
    , test

  other-modules:
      Network.HTTP.Media.MediaType.Arbitrary
    , Network.HTTP.Media.MediaType.ArbitrarySpec
    , Network.HTTP.Types.Method.Arbitrary 
    , Network.HTTP.Types.Method.ArbitrarySpec
    , Network.URI.Arbitrary
    , Network.URI.ArbitrarySpec

  build-tool-depends:
      hspec-discover:hspec-discover >= 2.4 && < 2.8

  build-depends:
      base             >= 4.6 && < 4.13
    , bytestring       == 0.10.*
    , case-insensitive == 1.2.*
    , hspec            >= 2.4 && < 2.8
    , http-media       >= 0.6 && < 0.8
    , http-types       >= 0.9 && < 0.13
    , network-uri      == 2.6.*
    , QuickCheck       >= 2.9 && < 2.13
    , test-invariant   == 0.4.*

  other-extensions:
      RecordWildCards