You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
4.6 KiB
124 lines
4.6 KiB
5 years ago
|
name: optparse-applicative
|
||
5 years ago
|
version: 0.15.1.0
|
||
|
x-revision: 1
|
||
5 years ago
|
synopsis: Utilities and combinators for parsing command line options
|
||
|
description:
|
||
|
optparse-applicative is a haskell library for parsing options
|
||
|
on the command line, providing a powerful applicative interface
|
||
|
for composing these options.
|
||
|
.
|
||
|
optparse-applicative takes care of reading and validating the
|
||
|
arguments passed to the command line, handling and reporting
|
||
|
errors, generating a usage line, a comprehensive help screen,
|
||
|
and enabling context-sensitive bash completions.
|
||
|
.
|
||
|
See the included README for detailed instructions and examples,
|
||
|
which is also available on github
|
||
|
<https://github.com/pcapriotti/optparse-applicative>.
|
||
|
license: BSD3
|
||
|
license-file: LICENSE
|
||
|
author: Paolo Capriotti, Huw Campbell
|
||
|
maintainer: huw.campbell@gmail.com
|
||
|
copyright: (c) 2012-2017 Paolo Capriotti <paolo@capriotti.io>
|
||
|
category: System, CLI, Options, Parsing
|
||
|
build-type: Simple
|
||
|
cabal-version: >= 1.8
|
||
|
extra-source-files: CHANGELOG.md
|
||
|
README.md
|
||
|
tests/alt.err.txt
|
||
|
tests/cabal.err.txt
|
||
|
tests/carry.err.txt
|
||
|
tests/commands.err.txt
|
||
|
tests/commands_header.err.txt
|
||
|
tests/commands_header_full.err.txt
|
||
|
tests/dropback.err.txt
|
||
|
tests/hello.err.txt
|
||
|
tests/helponempty.err.txt
|
||
|
tests/helponemptysub.err.txt
|
||
5 years ago
|
tests/long_equals.err.txt
|
||
5 years ago
|
tests/formatting.err.txt
|
||
|
tests/nested.err.txt
|
||
5 years ago
|
tests/optional.err.txt
|
||
|
tests/nested_optional.err.txt
|
||
5 years ago
|
tests/subparsers.err.txt
|
||
|
|
||
|
homepage: https://github.com/pcapriotti/optparse-applicative
|
||
|
bug-reports: https://github.com/pcapriotti/optparse-applicative/issues
|
||
5 years ago
|
tested-with:
|
||
|
GHC==7.0.4,
|
||
|
GHC==7.2.2,
|
||
|
GHC==7.4.2,
|
||
|
GHC==7.6.3,
|
||
|
GHC==7.8.4,
|
||
|
GHC==7.10.3,
|
||
|
GHC==8.0.2,
|
||
|
GHC==8.2.2,
|
||
|
GHC==8.4.4,
|
||
|
GHC==8.6.5,
|
||
|
GHC==8.8.1
|
||
5 years ago
|
|
||
|
source-repository head
|
||
|
type: git
|
||
|
location: https://github.com/pcapriotti/optparse-applicative.git
|
||
|
|
||
|
library
|
||
5 years ago
|
hs-source-dirs: src
|
||
5 years ago
|
ghc-options: -Wall
|
||
|
|
||
|
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
|
||
|
if impl(ghc >= 8.0)
|
||
5 years ago
|
ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances
|
||
|
if impl(ghc < 8.8)
|
||
|
ghc-options: -Wnoncanonical-monadfail-instances
|
||
5 years ago
|
|
||
|
exposed-modules: Options.Applicative
|
||
|
, Options.Applicative.Arrows
|
||
|
, Options.Applicative.BashCompletion
|
||
|
, Options.Applicative.Builder
|
||
|
, Options.Applicative.Builder.Completer
|
||
|
, Options.Applicative.Builder.Internal
|
||
|
, Options.Applicative.Common
|
||
|
, Options.Applicative.Extra
|
||
|
, Options.Applicative.Help
|
||
|
, Options.Applicative.Help.Chunk
|
||
|
, Options.Applicative.Help.Core
|
||
|
, Options.Applicative.Help.Levenshtein
|
||
|
, Options.Applicative.Help.Pretty
|
||
|
, Options.Applicative.Help.Types
|
||
|
, Options.Applicative.Types
|
||
|
, Options.Applicative.Internal
|
||
|
|
||
|
build-depends: base == 4.*
|
||
|
, transformers >= 0.2 && < 0.6
|
||
|
, transformers-compat >= 0.3 && < 0.7
|
||
|
, process >= 1.0 && < 1.7
|
||
5 years ago
|
, ansi-wl-pprint >= 0.6.8 && < 0.7
|
||
5 years ago
|
|
||
|
if !impl(ghc >= 8)
|
||
|
build-depends: semigroups >= 0.10 && < 0.20
|
||
|
, fail == 4.9.*
|
||
|
|
||
5 years ago
|
test-suite tests
|
||
5 years ago
|
type: exitcode-stdio-1.0
|
||
|
|
||
|
main-is: test.hs
|
||
|
|
||
|
ghc-options: -Wall -threaded -O2 -funbox-strict-fields
|
||
|
|
||
|
hs-source-dirs:
|
||
|
tests
|
||
|
|
||
|
other-modules: Examples.Alternatives
|
||
|
, Examples.Cabal
|
||
|
, Examples.Commands
|
||
|
, Examples.Formatting
|
||
|
, Examples.Hello
|
||
|
|
||
|
build-depends: base
|
||
5 years ago
|
, bytestring >= 0.9 && < 0.11
|
||
5 years ago
|
, optparse-applicative
|
||
5 years ago
|
, QuickCheck >= 2.8 && < 2.15
|
||
5 years ago
|
|
||
|
if !impl(ghc >= 8)
|
||
|
build-depends: semigroups
|