File: generic-data.cabal

package info (click to toggle)
haskell-generic-data 0.8.3.0-1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 256 kB
  • sloc: haskell: 1,897; makefile: 6
file content (143 lines) | stat: -rw-r--r-- 3,408 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
name:                generic-data
version:             0.8.3.0
synopsis:            Deriving instances with GHC.Generics and related utilities
description:
  Generic implementations of standard type classes.
  Operations on generic representations to help using "GHC.Generics".
  See README.
homepage:            https://github.com/Lysxia/generic-data#readme
license:             MIT
license-file:        LICENSE
author:              Li-yao Xia
maintainer:          lysxia@gmail.com
copyright:           2018-2020 Li-yao Xia
category:            Generics
build-type:          Simple
extra-source-files:  README.md, CHANGELOG.md
cabal-version:       >=1.10
tested-with:         GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1,
                     GHC == 8.6.3, GHC == 8.6.5, GHC == 8.8.2

library
  hs-source-dirs:      src
  exposed-modules:
    Generic.Data
    Generic.Data.Types
    Generic.Data.Microsurgery
    Generic.Data.Internal.Compat
    Generic.Data.Internal.Data
    Generic.Data.Internal.Enum
    Generic.Data.Internal.Error
    Generic.Data.Internal.Functions
    Generic.Data.Internal.Generically
    Generic.Data.Internal.Meta
    Generic.Data.Internal.Microsurgery
    Generic.Data.Internal.Newtype
    Generic.Data.Internal.Prelude
    Generic.Data.Internal.Read
    Generic.Data.Internal.Resolvers
    Generic.Data.Internal.Show
    Generic.Data.Internal.Utils
  build-depends:
    base-orphans >= 0.8,
    contravariant,
    ghc-boot-th,
    show-combinators,
    base >= 4.9 && < 5
  hs-source-dirs:      orphans
  exposed-modules:
    Generic.Data.Orphans
  ghc-options:         -Wall
  default-language:    Haskell2010

test-suite unit-test
  hs-source-dirs: test
  main-is: unit.hs
  build-depends:
    tasty,
    tasty-hunit,
    generic-data,
    show-combinators >= 0.2,
    base
  ghc-options: -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0

test-suite record-test
  hs-source-dirs: test
  main-is: record.hs
  build-depends:
    generic-data,
    base
  ghc-options: -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0

test-suite example-test
  hs-source-dirs: test
  main-is: example.hs
  build-depends:
    generic-data,
    base
  ghc-options: -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0

test-suite microsurgery-test
  hs-source-dirs: test
  main-is: microsurgery.hs
  build-depends:
    tasty,
    tasty-hunit,
    generic-data,
    base
  ghc-options: -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0

test-suite lens-surgery-test
  hs-source-dirs: test
  main-is: lens-surgery.hs
  build-depends:
    tasty,
    tasty-hunit,
    generic-data,
    generic-lens >= 1.1.0.0,
    base
  ghc-options: -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0


test-suite generic-data-doctest
  hs-source-dirs: test
  main-is: doctest.hs
  build-depends:
    doctest,
    Glob,
    QuickCheck,
    generic-data,
    base
  ghc-options: -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  if !impl(ghc >= 8.6)
    buildable: False

benchmark bench
  hs-source-dirs: test
  main-is: bench.hs
  build-depends:
    criterion,
    deepseq,
    generic-data,
    base
  ghc-options: -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  if !impl(ghc >= 8.6)
    buildable: False

source-repository head
  type:     git
  location: https://github.com/Lysxia/generic-data