packages feed

fgl-arbitrary-0.1.0.0: fgl-arbitrary.cabal

name:                fgl-arbitrary
version:             0.1.0.0
synopsis:            QuickCheck support for fgl
description:
  Provides Arbitrary instances for fgl graphs (to avoid adding a
  QuickCheck dependency for fgl)
license:             BSD3
license-file:        LICENSE
author:              Ivan Lazar Miljenovic
maintainer:          Ivan.Miljenovic@gmail.com
copyright:           Ivan Lazar Miljenovic
category:            Testing, Graphs
build-type:          Simple
cabal-version:       >=1.10

source-repository head
    type:         git
    location:     git://github.com/haskell/fgl.git
    subdir:       fgl-arbitrary

library
  exposed-modules:     Data.Graph.Inductive.Arbitrary
  -- other-modules:
  -- other-extensions:
  build-depends:       base < 5
                     , containers
                     , fgl < 6
                     , QuickCheck >= 2.3 && < 2.9
  -- hs-source-dirs:
  default-language:    Haskell2010

  ghc-options:         -Wall

  ghc-prof-options:    -prof -auto

test-suite fgl-arbitrary-tests
    default-language: Haskell2010

    type:             exitcode-stdio-1.0

    build-depends:    fgl-arbitrary
                    , fgl
                    , base
                    , QuickCheck >= 2.3 && < 2.9
                    , hspec == 2.1.*
                    , containers

    hs-source-dirs:   test

    main-is:          TestSuite.hs

    ghc-options:      -Wall

    ghc-prof-options: -prof -auto