File: fgl-arbitrary.cabal

package info (click to toggle)
haskell-fgl-arbitrary 0.2.0.3-5
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 100 kB
  • sloc: haskell: 231; makefile: 6
file content (54 lines) | stat: -rw-r--r-- 1,556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name:                fgl-arbitrary
version:             0.2.0.3
synopsis:            QuickCheck support for fgl
description:
  Provides Arbitrary instances for fgl graphs (to avoid adding a
  QuickCheck dependency for fgl whilst still making the instances
  available to others).
  .
  Also available are non-fgl-specific functions for generating
  graph-like data structures.
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
extra-source-files:  ChangeLog

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
                     , fgl >= 5.5.2.0 && < 6
                     , QuickCheck >= 2.3 && < 2.12
  -- hs-source-dirs:
  default-language:    Haskell2010

  ghc-options:         -Wall

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

    type:             exitcode-stdio-1.0

    build-depends:    fgl-arbitrary
                    , fgl
                    , base
                    , QuickCheck >= 2.3 && < 2.12
                    , hspec >= 2.1 && < 2.6
                    , containers

    hs-source-dirs:   test

    main-is:          TestSuite.hs

    ghc-options:      -Wall