packages feed

random-strings-0.1.0.0: random-strings.cabal

name:                   random-strings
version:                0.1.0.0

license:                BSD3
license-file:           LICENSE
copyright:              (c) 2016 Michael Hatfield

author:                 Michael Hatfield
maintainer:             github@michael-hatfield.com
homepage:               https://github.com/mikehat/random-strings
stability:              experimental
bug-reports:            https://github.com/mikehat/random-strings

synopsis:               Generate random strings with specific qualities
description:

    Useful for generating test/benchmark data, the 'Test.RandomStrings' module
    provides functions for generating random character strings in the ASCII
    range.  You can specify probabilities for the alphabet-range chars and
    capital case characters.


category:               Text , Test
build-type:             Simple
cabal-version:          >=1.10

extra-source-files:       README.markdown
                        , CHANGELOG

source-repository head
    type:               git
    location:           git://github.com/mikehat/random-strings.git
    branch:             master

source-repository this
    type:               git
    location:           git://github.com/mikehat/random-strings.git
    branch:             master
    tag:                0.1

library

    exposed-modules:      Test.RandomStrings
                        , Test.RandomStrings.FlipCase

    other-modules:        Test.RandomStrings.Internal

    build-depends:        base >=4 && <5
                        , random >=1.0 && <2.0

    hs-source-dirs:     src
    default-language:   Haskell2010


test-suite test-basics

    type:               exitcode-stdio-1.0
    main-is:            test-basics.hs

    build-depends:        base >=4 && <5
                        , random-strings
                        , QuickCheck
                        , mtl 

    hs-source-dirs:     tests
    default-language:   Haskell2010


test-suite test-randomness

    type:               exitcode-stdio-1.0
    main-is:            test-randomness.hs

    build-depends:        base >=4 && <5
                        , random-strings
                        , QuickCheck
                        , mtl
                        , containers

    hs-source-dirs:     tests
    default-language:   Haskell2010


executable readme-example

    main-is:            readme-example.hs

    build-depends:        base >=4 && <5
                        , random-strings

    hs-source-dirs:     tests
    default-language:   Haskell2010