File optparse-generic.cabal of Package ghc-optparse-generic

Name: optparse-generic
Version: 1.5.2
x-revision: 1
Cabal-Version: >=1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2016 Gabriella Gonzalez
Author: Gabriella Gonzalez
Maintainer: GenuineGabriella@gmail.com
Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
Bug-Reports: https://github.com/Gabriella439/Haskell-Optparse-Generic-Library/issues
Synopsis: Auto-generate a command-line parser for your datatype
Description: This library auto-generates an @optparse-applicative@-compatible
    @Parser@ from any data type that derives the @Generic@ interface.
    .
    See the documentation in "Options.Generic" for an example of how to use
    this library
Category: System
Extra-Source-Files: CHANGELOG.md
Source-Repository head
    Type: git
    Location: https://github.com/Gabriella439/Haskell-Optparse-Generic-Library

Library
    Hs-Source-Dirs: src
    Build-Depends:
        base                 >= 4.8      && < 5   ,
        text                                < 2.2 ,
        transformers         >= 0.2.0.0  && < 0.7 ,
        transformers-compat  >= 0.3      && < 0.8 ,
        Only                                < 0.2 ,
        optparse-applicative >= 0.16.0.0 && < 0.19,
        time                 >= 1.5      && < 1.13,
        void                                < 0.8 ,
        bytestring                          < 0.13,
        filepath                            < 1.6
    
    if impl(ghc < 8.0)
        Build-Depends:
            semigroups           >= 0.5.0    && < 0.20

    if impl(ghc < 7.8)
        Build-Depends:
            singletons       >= 0.10.0  && < 1.0 ,
            tagged           >= 0.8.3   && < 0.9 ,
            th-desugar                     < 1.5.1
    Exposed-Modules: Options.Generic
    GHC-Options: -Wall
    Default-Language: Haskell2010

executable optparse-generic-example-unwrap-options
  ghc-options: -Wall
  default-language: Haskell2010
  hs-source-dirs: examples
  main-is: unwrap-options.hs
  build-depends:
    base   >= 4.7 && <5,
    optparse-generic

executable optparse-generic-example-unwrap-with-help
  ghc-options: -Wall
  default-language: Haskell2010
  hs-source-dirs: examples
  main-is: unwrap-with-help.hs
  build-depends:
    base   >= 4.7 && <5,
    optparse-generic
openSUSE Build Service is sponsored by