File: quickcheck-instances.cabal

package info (click to toggle)
haskell-quickcheck-instances 0.3.30-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 204 kB
  • sloc: haskell: 1,071; makefile: 2
file content (167 lines) | stat: -rw-r--r-- 4,898 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
name:               quickcheck-instances
version:            0.3.30
synopsis:           Common quickcheck instances
description:
  QuickCheck instances.
  .
  The goal is to supply QuickCheck instances for
  types provided by the Haskell Platform.
  .
  Since all of these instances are provided as
  orphans, I recommend that you do not use this library
  within another library module, so that you don't
  impose these instances on down-stream consumers of
  your code.

license:            BSD3
license-file:       LICENSE
author:
  Antoine Latter <aslatter@gmail.com>, Oleg Grenrus <oleg.grenrus@iki.fi>

maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
homepage:           https://github.com/haskellari/qc-instances
bug-reports:        https://github.com/haskellari/qc-instances/issues
copyright:          Copyright 2012-2016 Antoine Latter, 2017-2019 Oleg Grenrus
category:           Testing
build-type:         Simple
extra-source-files: CHANGES
cabal-version:      >=1.10
tested-with:
  GHC ==7.4.2
   || ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.7
   || ==9.6.3
   || ==9.8.1

source-repository head
  type:     git
  location: https://github.com/haskellari/qc-instances.git

flag bytestring-builder
  description: Use bytestring-builder (with old bytestring)
  default:     False
  manual:      False

library
  default-language: Haskell2010
  exposed-modules:
    Test.QuickCheck.Instances
    Test.QuickCheck.Instances.Array
    Test.QuickCheck.Instances.Array.Byte
    Test.QuickCheck.Instances.ByteString
    Test.QuickCheck.Instances.CaseInsensitive
    Test.QuickCheck.Instances.Containers
    Test.QuickCheck.Instances.DataFix
    Test.QuickCheck.Instances.Hashable
    Test.QuickCheck.Instances.Natural
    Test.QuickCheck.Instances.OldTime
    Test.QuickCheck.Instances.Primitive
    Test.QuickCheck.Instances.Scientific
    Test.QuickCheck.Instances.Semigroup
    Test.QuickCheck.Instances.Solo
    Test.QuickCheck.Instances.Strict
    Test.QuickCheck.Instances.Tagged
    Test.QuickCheck.Instances.Text
    Test.QuickCheck.Instances.These
    Test.QuickCheck.Instances.Time
    Test.QuickCheck.Instances.Transformer
    Test.QuickCheck.Instances.UnorderedContainers
    Test.QuickCheck.Instances.UUID
    Test.QuickCheck.Instances.Vector
    Test.QuickCheck.Instances.Void

  other-modules:    Test.QuickCheck.Instances.CustomPrelude
  hs-source-dirs:   src
  build-depends:
      base        >=4.5    && <4.20
    , QuickCheck  >=2.14.1 && <2.14.4
    , splitmix    >=0.0.2  && <0.2

  build-depends:
      array                 >=0.4.0.0  && <0.6
    , bytestring            >=0.9.2.1  && <0.13
    , case-insensitive      >=1.2.0.4  && <1.3
    , containers            >=0.4.2.1  && <0.7
    , data-fix              >=0.3      && <0.4
    , hashable              >=1.2.7.0  && <1.5
    , integer-logarithms    >=1.0.3    && <1.1
    , old-time              >=1.1.0.0  && <1.2
    , OneTuple              >=0.3      && <0.5
    , primitive             >=0.6.4.0  && <0.9
    , scientific            >=0.3.6.2  && <0.4
    , strict                >=0.4      && <0.6
    , tagged                >=0.8.6    && <0.9
    , text                  >=1.2.3.0  && <1.3 || >=2.0 && <2.2
    , these                 >=1.1.1.1  && <1.3
    , time-compat           >=1.9.4    && <1.10
    , transformers          >=0.3.0.0  && <0.7
    , transformers-compat   >=0.6.5    && <0.8
    , unordered-containers  >=0.2.2.0  && <0.3
    , uuid-types            >=1.0.4    && <1.1
    , vector                >=0.12.3.1 && <0.14

  -- version is irrelevant.
  build-depends:    time

  if impl(ghc >=8.0 && <9.4)
    build-depends: data-array-byte >=0.1.0.1 && <0.2

  if !impl(ghc >=8.0)
    build-depends: semigroups >=0.18.5 && <0.21

  if !impl(ghc >=7.10)
    build-depends:
        nats  >=1.1.2 && <1.2
      , void  >=0.7.2 && <0.8

  if flag(bytestring-builder)
    build-depends:
        bytestring          <0.10.4.0
      , bytestring-builder  >=0.10.4 && <0.11

  else
    build-depends: bytestring >=0.10.4.0

  if impl(ghc >=7.8)
    exposed-modules: Test.QuickCheck.Instances.Text.Short
    build-depends:   text-short >=0.1.3 && <0.2

  ghc-options:      -Wall

test-suite self-test
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  main-is:          Tests.hs
  hs-source-dirs:   test
  build-depends:
      base
    , containers
    , primitive
    , QuickCheck
    , quickcheck-instances
    , tagged
    , uuid-types

  if impl(ghc >=8.0 && <9.4)
    build-depends: data-array-byte

benchmark bytestring-gen
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  main-is:          ByteString.hs
  hs-source-dirs:   bench
  build-depends:
      base
    , bytestring
    , QuickCheck
    , quickcheck-instances