cabal-version: 3.0
name: network-arbitrary
version: 1.0.0.1
license: MIT
license-file: LICENSE
copyright: (c) 2018 Alex Brandt
author: Alex Brandt
maintainer: alunduil@gmail.com
stability: stable
homepage: https://github.com/alunduil/network-arbitrary
bug-reports: https://github.com/alunduil/network-arbitrary/issues
synopsis: Arbitrary Instances for Network Types
description:
You can use network-arbitrary to provide Arbitrary instances for Network
module types.
category: Testing
tested-with:
GHC >=9.4 && <9.5 || >=9.6 && <9.7 || >=9.8 && <9.9 || >=9.10 && <9.11
extra-source-files:
ChangeLog.md
README.md
source-repository head
type: git
location: https://github.com/alunduil/network-arbitrary
common network-arbitrary-common
build-depends:
, base >=4.6 && <4.15 || ^>=4.15.0.0 || ^>=4.16.0.0 || ^>=4.17.0.0 || ^>=4.18.0.0 || ^>=4.19.0.0 || ^>=4.20.0
, bytestring >=0.10 && <0.11 || ^>=0.11.1.0 || ^>=0.12.0.0
, http-media >=0.6 && <0.9
, http-types >=0.9 && <0.13
, network-uri >=2.6 && <2.8
, QuickCheck ^>=2.9 || ^>=2.10 || ^>=2.11 || ^>=2.12 || ^>=2.13 || ^>=2.14 || ^>=2.15
library
import: network-arbitrary-common
exposed-modules:
Network.Arbitrary
Network.HTTP.Media.MediaType.Arbitrary
Network.HTTP.Types.Method.Arbitrary
Network.URI.Arbitrary
other-modules:
build-depends:
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Wcompat
test-suite test
import: network-arbitrary-common
type: exitcode-stdio-1.0
main-is: Spec.hs
build-depends:
, case-insensitive >=1.2 && <1.3
, hspec >=2.4 && <2.8 || ^>=2.11.8
, test-invariant >=0.4 && <0.5
build-tool-depends: hspec-discover:hspec-discover >=2.4 && <2.8
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
hs-source-dirs: src test
default-language: Haskell2010
ghc-options: -Wall -Wcompat