|
|
@ -1,6 +1,6 @@
|
|
|
|
name: optparse-applicative
|
|
|
|
name: optparse-applicative
|
|
|
|
version: 0.14.3.0
|
|
|
|
version: 0.15.1.0
|
|
|
|
x-revision: 2
|
|
|
|
x-revision: 1
|
|
|
|
synopsis: Utilities and combinators for parsing command line options
|
|
|
|
synopsis: Utilities and combinators for parsing command line options
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
optparse-applicative is a haskell library for parsing options
|
|
|
|
optparse-applicative is a haskell library for parsing options
|
|
|
@ -35,26 +35,41 @@ extra-source-files: CHANGELOG.md
|
|
|
|
tests/hello.err.txt
|
|
|
|
tests/hello.err.txt
|
|
|
|
tests/helponempty.err.txt
|
|
|
|
tests/helponempty.err.txt
|
|
|
|
tests/helponemptysub.err.txt
|
|
|
|
tests/helponemptysub.err.txt
|
|
|
|
|
|
|
|
tests/long_equals.err.txt
|
|
|
|
tests/formatting.err.txt
|
|
|
|
tests/formatting.err.txt
|
|
|
|
tests/nested.err.txt
|
|
|
|
tests/nested.err.txt
|
|
|
|
|
|
|
|
tests/optional.err.txt
|
|
|
|
|
|
|
|
tests/nested_optional.err.txt
|
|
|
|
tests/subparsers.err.txt
|
|
|
|
tests/subparsers.err.txt
|
|
|
|
|
|
|
|
|
|
|
|
homepage: https://github.com/pcapriotti/optparse-applicative
|
|
|
|
homepage: https://github.com/pcapriotti/optparse-applicative
|
|
|
|
bug-reports: https://github.com/pcapriotti/optparse-applicative/issues
|
|
|
|
bug-reports: https://github.com/pcapriotti/optparse-applicative/issues
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
type: git
|
|
|
|
location: https://github.com/pcapriotti/optparse-applicative.git
|
|
|
|
location: https://github.com/pcapriotti/optparse-applicative.git
|
|
|
|
|
|
|
|
|
|
|
|
library
|
|
|
|
library
|
|
|
|
-- Monad-without-fail
|
|
|
|
hs-source-dirs: src
|
|
|
|
build-depends: base <4.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ghc-options: -Wall
|
|
|
|
ghc-options: -Wall
|
|
|
|
|
|
|
|
|
|
|
|
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
|
|
|
|
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
|
|
|
|
if impl(ghc >= 8.0)
|
|
|
|
if impl(ghc >= 8.0)
|
|
|
|
ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
|
|
|
|
ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances
|
|
|
|
|
|
|
|
if impl(ghc < 8.8)
|
|
|
|
|
|
|
|
ghc-options: -Wnoncanonical-monadfail-instances
|
|
|
|
|
|
|
|
|
|
|
|
exposed-modules: Options.Applicative
|
|
|
|
exposed-modules: Options.Applicative
|
|
|
|
, Options.Applicative.Arrows
|
|
|
|
, Options.Applicative.Arrows
|
|
|
@ -77,13 +92,13 @@ library
|
|
|
|
, transformers >= 0.2 && < 0.6
|
|
|
|
, transformers >= 0.2 && < 0.6
|
|
|
|
, transformers-compat >= 0.3 && < 0.7
|
|
|
|
, transformers-compat >= 0.3 && < 0.7
|
|
|
|
, process >= 1.0 && < 1.7
|
|
|
|
, process >= 1.0 && < 1.7
|
|
|
|
, ansi-wl-pprint >= 0.6.6 && < 0.7
|
|
|
|
, ansi-wl-pprint >= 0.6.8 && < 0.7
|
|
|
|
|
|
|
|
|
|
|
|
if !impl(ghc >= 8)
|
|
|
|
if !impl(ghc >= 8)
|
|
|
|
build-depends: semigroups >= 0.10 && < 0.20
|
|
|
|
build-depends: semigroups >= 0.10 && < 0.20
|
|
|
|
, fail == 4.9.*
|
|
|
|
, fail == 4.9.*
|
|
|
|
|
|
|
|
|
|
|
|
test-suite optparse-applicative-tests
|
|
|
|
test-suite tests
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
|
|
|
|
|
|
|
main-is: test.hs
|
|
|
|
main-is: test.hs
|
|
|
@ -100,9 +115,9 @@ test-suite optparse-applicative-tests
|
|
|
|
, Examples.Hello
|
|
|
|
, Examples.Hello
|
|
|
|
|
|
|
|
|
|
|
|
build-depends: base
|
|
|
|
build-depends: base
|
|
|
|
, bytestring == 0.10.*
|
|
|
|
, bytestring >= 0.9 && < 0.11
|
|
|
|
, optparse-applicative
|
|
|
|
, optparse-applicative
|
|
|
|
, QuickCheck >= 2.8 && < 2.14
|
|
|
|
, QuickCheck >= 2.8 && < 2.15
|
|
|
|
|
|
|
|
|
|
|
|
if !impl(ghc >= 8)
|
|
|
|
if !impl(ghc >= 8)
|
|
|
|
build-depends: semigroups
|
|
|
|
build-depends: semigroups
|