File: genvalidity.cabal

package info (click to toggle)
haskell-genvalidity 1.1.1.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: haskell: 942; makefile: 9
file content (89 lines) | stat: -rw-r--r-- 2,899 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
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

name:           genvalidity
version:        1.1.1.0
synopsis:       Testing utilities for the validity library
description:    Note: There are companion instance packages for this library:
                .
                * <https://hackage.haskell.org/package/genvalidity-aeson genvalidity-aeson>
                .
                * <https://hackage.haskell.org/package/genvalidity-bytestring genvalidity-bytestring>
                .
                * <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>
                .
                * <https://hackage.haskell.org/package/genvalidity-path genvalidity-path>
                .
                * <https://hackage.haskell.org/package/genvalidity-scientific genvalidity-scientific>
                .
                * <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
                .
                * <https://hackage.haskell.org/package/genvalidity-time genvalidity-time>
                .
                * <https://hackage.haskell.org/package/genvalidity-unordered-containers genvalidity-unordered-containers>
                .
                * <https://hackage.haskell.org/package/genvalidity-uuid genvalidity-uuid>
                .
                * <https://hackage.haskell.org/package/genvalidity-vector genvalidity-vector>
category:       Testing
homepage:       https://github.com/NorfairKing/validity#readme
bug-reports:    https://github.com/NorfairKing/validity/issues
author:         Tom Sydney Kerckhove
maintainer:     syd@cs-syd.eu
copyright:      Copyright: (c) 2016-2021 Tom Sydney Kerckhove
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    LICENSE
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/NorfairKing/validity

library
  exposed-modules:
      Data.GenValidity
      Data.GenValidity.Utils
  other-modules:
      Paths_genvalidity
  hs-source-dirs:
      src
  ghc-options: -Wno-redundant-constraints
  build-depends:
      QuickCheck >=2.13
    , base >=4.13 && <5
    , random >=1.1
    , validity >=0.12.1
  default-language: Haskell2010

flag smp
  description:          build test with -N
  default:              True

test-suite genvalidity-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Data.GenValidity.GenericSpec
      Data.GenValidity.ShrinkGenericSpec
      Data.GenValiditySpec
      Data.InstanceSpec
      Paths_genvalidity
  hs-source-dirs:
      test
  if flag(smp)
    ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
  else
    ghc-options: -threaded -Wall
  build-depends:
      QuickCheck
    , base >=4.13 && <5
    , genvalidity
    , hspec
    , hspec-core
  default-language: Haskell2010