Create changelogs for 3.14.1.0 (#10591)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / generics-sop.format
blobeaf3cf62dd6068f3f9d395add61984ae9c3bb9aa
1 cabal-version:      >=1.10
2 name:               generics-sop
3 version:            0.3.1.0
4 license:            BSD3
5 license-file:       LICENSE
6 maintainer:         andres@well-typed.com
7 author:
8     Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
10 tested-with:
11     ghc ==7.8.4 ghc ==7.10.3 ghc ==8.0.1 ghc ==8.0.2 ghc ==8.2.1
12     ghc >=8.3 && <8.4
14 synopsis:           Generic Programming using True Sums of Products
15 description:
16     A library to support the definition of generic functions.
17     Datatypes are viewed in a uniform, structured way:
18     the choice between constructors is represented using an n-ary
19     sum, and the arguments of each constructor are represented using
20     an n-ary product.
21     .
22     The module "Generics.SOP" is the main module of this library and contains
23     more detailed documentation.
24     .
25     Examples of using this library are provided by the following
26     packages:
27     .
28     * @<https://hackage.haskell.org/package/basic-sop basic-sop>@ basic examples,
29     .
30     * @<https://hackage.haskell.org/package/pretty-sop pretty-sop>@ generic pretty printing,
31     .
32     * @<https://hackage.haskell.org/package/lens-sop lens-sop>@ generically computed lenses,
33     .
34     * @<https://hackage.haskell.org/package/json-sop json-sop>@ generic JSON conversions.
35     .
36     A detailed description of the ideas behind this library is provided by
37     the paper:
38     .
39     * Edsko de Vries and Andres Löh.
40     <http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products>.
41     Workshop on Generic Programming (WGP) 2014.
42     .
44 category:           Generics
45 build-type:         Custom
46 extra-source-files: CHANGELOG.md
48 source-repository head
49     type:     git
50     location: https://github.com/well-typed/generics-sop
52 custom-setup
53     setup-depends:
54         base,
55         Cabal,
56         cabal-doctest >=1.0.2 && <1.1
58 library
59     exposed-modules:
60         Generics.SOP
61         Generics.SOP.GGP
62         Generics.SOP.TH
63         Generics.SOP.Dict
64         Generics.SOP.Type.Metadata
65         Generics.SOP.BasicFunctors
66         Generics.SOP.Classes
67         Generics.SOP.Constraint
68         Generics.SOP.Instances
69         Generics.SOP.Metadata
70         Generics.SOP.NP
71         Generics.SOP.NS
72         Generics.SOP.Universe
73         Generics.SOP.Sing
75     hs-source-dirs:     src
76     default-language:   Haskell2010
77     default-extensions:
78         CPP ScopedTypeVariables TypeFamilies RankNTypes TypeOperators GADTs
79         ConstraintKinds MultiParamTypeClasses TypeSynonymInstances
80         FlexibleInstances FlexibleContexts DeriveFunctor DeriveFoldable
81         DeriveTraversable DefaultSignatures KindSignatures DataKinds
82         FunctionalDependencies
84     other-extensions:
85         OverloadedStrings PolyKinds UndecidableInstances TemplateHaskell
86         DeriveGeneric StandaloneDeriving
88     ghc-options:        -Wall
89     build-depends:
90         base >=4.7 && <5,
91         template-haskell >=2.8 && <2.13,
92         ghc-prim >=0.3 && <0.6,
93         deepseq >=1.3 && <1.5
95     if !impl(ghc >=7.8)
96         build-depends: tagged >=0.7 && <0.9
98     if !impl(ghc >=8.0)
99         build-depends:
100             transformers-compat >=0.3 && <0.6,
101             transformers >=0.3 && <0.6
103     if impl(ghc >=7.8)
104         default-extensions: AutoDeriveTypeable
106     if impl(ghc <7.10)
107         other-extensions: OverlappingInstances
109 test-suite doctests
110     type:              exitcode-stdio-1.0
111     main-is:           doctests.hs
112     hs-source-dirs:    test
113     default-language:  Haskell2010
114     ghc-options:       -Wall -threaded
115     x-doctest-options: --preserve-it
116     build-depends:
117         base,
118         doctest >=0.13 && <0.14
120 test-suite generics-sop-examples
121     type:             exitcode-stdio-1.0
122     main-is:          Example.hs
123     hs-source-dirs:   test
124     other-modules:    HTransExample
125     default-language: Haskell2010
126     ghc-options:      -Wall
127     build-depends:
128         base >=4.6 && <5,
129         generics-sop