packages feed

optparse-simple-0.1.1.1: optparse-simple.cabal

cabal-version: 1.12

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

name:           optparse-simple
version:        0.1.1.1
synopsis:       Simple interface to optparse-applicative
description:    Please see the README at <https://www.stackage.org/package/optparse-simple>
category:       Options
homepage:       https://github.com/fpco/optparse-simple#readme
bug-reports:    https://github.com/fpco/optparse-simple/issues
author:         FP Complete
maintainer:     chrisdone@fpcomplete.com
copyright:      2015-2017 FP Complete
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/fpco/optparse-simple

flag build-example
  description: Build the example executable
  manual: True
  default: False

library
  hs-source-dirs:
      src/
  ghc-options: -Wall
  build-depends:
      base >=4.9.1 && <5
    , githash >=0.1.3.0
    , optparse-applicative
    , template-haskell
    , transformers >=0.4
  if impl (ghc < 8.0)
    build-depends:
        semigroups ==0.18.*
  exposed-modules:
      Options.Applicative.Simple
  other-modules:
      Paths_optparse_simple
  default-language: Haskell2010

executable simple
  main-is: example/Simple.hs
  other-modules:
      Paths_optparse_simple
  build-depends:
      base >=4.9.1 && <5
    , optparse-simple
  if flag(build-example)
    buildable: True
  else
    buildable: False
  default-language: Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base
    , bytestring
    , directory
    , optparse-simple
  other-modules:
      Paths_optparse_simple
  default-language: Haskell2010