optima-0.4.0.7: optima.cabal
cabal-version: 3.0
name: optima
version: 0.4.0.7
category: CLI, Parsing, Options
synopsis: Simple command line interface arguments parser
homepage: https://github.com/metrix-ai/optima
bug-reports: https://github.com/metrix-ai/optima/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Metrix.AI Tech Team <tech@metrix.ai>
copyright: (c) 2018, Metrix.AI
license: MIT
license-file: LICENSE
common language-settings
default-language: Haskell2010
default-extensions:
ApplicativeDo
BangPatterns
BinaryLiterals
BlockArguments
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingVia
DuplicateRecordFields
EmptyDataDecls
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
HexFloatLiterals
LambdaCase
LiberalTypeSynonyms
MultiParamTypeClasses
MultiWayIf
NoImplicitPrelude
NoMonomorphismRestriction
NumericUnderscores
OverloadedLabels
OverloadedStrings
ParallelListComp
PatternGuards
PatternSynonyms
QuasiQuotes
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
StrictData
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
ViewPatterns
library
import: language-settings
hs-source-dirs: library
exposed-modules: Optima
other-modules: Optima.Prelude
build-depends:
attoparsec >=0.13 && <0.15,
attoparsec-data >=1.0.5.2 && <1.1,
base >=4.9 && <5,
optparse-applicative >=0.15 && <0.20,
text >=1.2 && <3,
text-builder ^>=1,
test-suite demo
import: language-settings
type: exitcode-stdio-1.0
hs-source-dirs: demo
main-is: Main.hs
build-depends:
attoparsec-data >=1 && <2,
optima,
rerebase >=1 && <2,