packages feed

quickcheck-string-random-0.1.4.2: quickcheck-string-random.cabal

cabal-version: 1.12
name:          quickcheck-string-random
version:       0.1.4.2
synopsis:      Helper to build generators with Text.StringRandom
description:
  Define a generator of Text that matches regular
  expressions. This package is useful for creating Arbitrary
  instances of Text type restricted by newtype.

category:      Test
homepage:      https://github.com/hiratara/hs-string-random#readme
bug-reports:   https://github.com/hiratara/hs-string-random/issues
author:        Masahiro Honma
maintainer:    hiratara@cpan.org
copyright:     Copyright (C) 2016- hiratara
license:       BSD3
license-file:  LICENSE
tested-with:   GHC ==8.10.3
build-type:    Simple

source-repository head
  type:     git
  location: https://github.com/hiratara/hs-string-random

library
  -- cabal-fmt: expand src
  exposed-modules:  Test.QuickCheck.StringRandom
  hs-source-dirs:   src
  build-depends:
      base           >=4.9     && <5
    , QuickCheck     >=2.8.2   && <2.15
    , string-random  >=0.1     && <0.2
    , text           >=1.2.2.1 && <2.1

  default-language: Haskell2010

test-suite quickcheck-string-random-test
  type:             exitcode-stdio-1.0
  main-is:          quickcheck-string-random-test.hs
  hs-source-dirs:   test
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base
    , QuickCheck
    , quickcheck-string-random
    , tasty
    , tasty-quickcheck
    , text

  default-language: Haskell2010