packages feed

optima-0.4.0.4: optima.cabal

cabal-version: 3.0

name: optima
version: 0.4.0.4
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-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, PatternGuards, PatternSynonyms, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, StrictData, TemplateHaskell, TupleSections, TypeApplications, TypeFamilies, TypeOperators, UndecidableInstances, ViewPatterns
  default-language: Haskell2010

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.19,
    text >=1.2 && <3,
    text-builder >=0.6 && <0.7

test-suite demo
  import: language-settings
  type: exitcode-stdio-1.0
  hs-source-dirs: demo
  main-is: Main.hs
  build-depends:
    optima,
    attoparsec-data ==1.*,
    rerebase ==1.*