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:           hledger-flow
version:        0.15.0
synopsis:       An hledger workflow focusing on automated statement import and classification.
description:    Please see the README on GitHub at <https://github.com/apauley/hledger-flow#readme>
category:       Finance, Console
homepage:       https://github.com/apauley/hledger-flow#readme
bug-reports:    https://github.com/apauley/hledger-flow/issues
author:         Andreas Pauley <hledger-flow@pauley.org.za>
maintainer:     Andreas Pauley <hledger-flow@pauley.org.za>
copyright:      2020 Andreas Pauley
license:        GPL-3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.org
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/apauley/hledger-flow

library
  exposed-modules:
      Hledger.Flow.BaseDir
      Hledger.Flow.Common
      Hledger.Flow.DateTime
      Hledger.Flow.DocHelpers
      Hledger.Flow.Import.CSVImport
      Hledger.Flow.Import.ImportHelpers
      Hledger.Flow.Import.ImportHelpersTurtle
      Hledger.Flow.Import.Types
      Hledger.Flow.Internals
      Hledger.Flow.Logging
      Hledger.Flow.PathHelpers
      Hledger.Flow.Reports
      Hledger.Flow.RuntimeOptions
      Hledger.Flow.Types
  other-modules:
      Paths_hledger_flow
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.7 && <5
    , containers
    , exceptions
    , filepath
    , foldl
    , gitrev
    , path
    , path-io
    , stm
    , text
    , time
    , turtle
  default-language: Haskell2010

executable hledger-flow
  main-is: Main.hs
  other-modules:
      Parsing
      Paths_hledger_flow
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fPIC
  ld-options: -static
  build-depends:
      base >=4.7 && <5
    , hledger-flow
    , optparse-applicative
    , path
    , text
    , turtle
  default-language: Haskell2010

test-suite hledger-flow-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      BaseDir.Integration
      Common.Integration
      Common.Unit
      CSVImport.ImportHelperTests
      CSVImport.ImportHelperTurtleTests
      CSVImport.Integration
      CSVImport.Unit
      PathHelpers.Unit
      TestHelpers
      TestHelpersTurtle
      Paths_hledger_flow
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit
    , base >=4.7 && <5
    , containers
    , foldl
    , hledger-flow
    , path
    , path-io
    , stm
    , text
    , turtle
  default-language: Haskell2010