File: optparse-simple.cabal

package info (click to toggle)
haskell-optparse-simple 0.1.1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80 kB
  • sloc: haskell: 210; makefile: 4
file content (79 lines) | stat: -rw-r--r-- 1,851 bytes parent folder | download | duplicates (2)
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
cabal-version: 1.12

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

name:           optparse-simple
version:        0.1.1.4
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
  exposed-modules:
      Options.Applicative.Simple
  other-modules:
      Paths_optparse_simple
  hs-source-dirs:
      src/
  ghc-options: -Wall
  build-depends:
      base >=4.9.1 && <5
    , githash >=0.1.3.0
    , optparse-applicative
    , template-haskell
    , th-compat
    , transformers >=0.4
  if impl (ghc < 8.0)
    build-depends:
        semigroups ==0.18.*
  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
  other-modules:
      Paths_optparse_simple
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base
    , bytestring
    , directory
    , optparse-simple
  default-language: Haskell2010