packages feed

hledger-flow-0.20.1: hledger-flow.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack

name:           hledger-flow
version:        0.20.1
synopsis:       An hledger workflow focusing on automated statement import and classification.
description:    hledger-flow uses hledger's CSV rules to turn each bank statement into a
                separate journal. It combines those journals with your manual entries for
                reporting. When your rules change, you can rebuild the journals from the
                original statements and review which transactions changed.
                See <https://hledger-flow.github.io/> for the quick start and tutorial.
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:      2023 Andreas Pauley
license:        GPL-3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md
    site/go-links.json

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

library
  exposed-modules:
      Hledger.Flow.BaseDir
      Hledger.Flow.Cache
      Hledger.Flow.Common
      Hledger.Flow.DateTime
      Hledger.Flow.DocHelpers
      Hledger.Flow.Environment
      Hledger.Flow.Import.Cache
      Hledger.Flow.Import.Conversion
      Hledger.Flow.Import.CSVImport
      Hledger.Flow.Import.Dependencies
      Hledger.Flow.Import.Fingerprint
      Hledger.Flow.Import.ImportHelpers
      Hledger.Flow.Import.IncludeFiles
      Hledger.Flow.Import.Incremental
      Hledger.Flow.Import.Inventory
      Hledger.Flow.Import.PrivateDirectory
      Hledger.Flow.Import.Snapshot
      Hledger.Flow.Import.Types
      Hledger.Flow.Init
      Hledger.Flow.Internals
      Hledger.Flow.Logging
      Hledger.Flow.PathHelpers
      Hledger.Flow.ReleaseNotice
      Hledger.Flow.Reports
      Hledger.Flow.RulesTemplate
      Hledger.Flow.RuntimeOptions
      Hledger.Flow.Status
      Hledger.Flow.Status.Gather
      Hledger.Flow.Status.Render
      Hledger.Flow.Types
  other-modules:
      Paths_hledger_flow
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      aeson >=2.2.5.1 && <2.3
    , ansi-terminal >=1.1.5 && <1.2
    , async >=2.2.6 && <2.3
    , base >=4.20 && <4.22
    , bytestring >=0.12.2.0 && <0.13
    , containers ==0.7.*
    , cryptohash-sha256 ==0.11.*
    , directory >=1.3.8.5 && <1.4
    , exceptions >=0.10.9 && <0.11
    , filepath >=1.5.4.0 && <1.6
    , gitrev >=1.3.1 && <1.4
    , http-client >=0.7.19 && <0.8
    , http-client-tls >=0.3.6.4 && <0.4
    , path >=0.9.6 && <0.10
    , path-io >=1.8.2 && <1.9
    , process >=1.6.26.1 && <1.7
    , stm >=2.5.3.1 && <2.6
    , text >=2.1.3 && <2.2
    , time >=1.12.2 && <1.13 || >=1.14 && <1.15
  default-language: Haskell2010
  if os(darwin)
    c-sources:
        cbits/private_directory_darwin.c
        cbits/sha256_darwin.c
  if os(windows)
    c-sources:
        cbits/private_directory_windows.c
    extra-libraries:
        advapi32
    build-depends:
        Win32 ==2.14.*
  else
    build-depends:
        unix ==2.8.*

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: -dynamic
  build-depends:
      base >=4.20 && <4.22
    , hledger-flow
    , optparse-applicative >=0.18.1.0 && <0.20
    , path >=0.9.6 && <0.10
    , path-io >=1.8.2 && <1.9
    , text >=2.1.3 && <2.2
  default-language: Haskell2010
  if os(windows)
    build-depends:
        code-page >=0.2.1 && <0.3

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.IncludeFilesTests
      CSVImport.Integration
      CSVImport.Unit
      Environment.Unit
      ImportHelpers.Integration
      Incremental.Cache
      Incremental.Dependencies
      Incremental.Platform
      Incremental.Snapshot
      Init.Integration
      PathHelpers.Unit
      ReleaseNotice.Unit
      RulesTemplate.Unit
      RuntimeOptions.Unit
      Status.Integration
      Status.Unit
      TestHelpers
      Paths_hledger_flow
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit >=1.6.2.0 && <1.7
    , aeson >=2.2.5.1 && <2.3
    , base >=4.20 && <4.22
    , bytestring >=0.12.2.0 && <0.13
    , containers ==0.7.*
    , directory >=1.3.8.5 && <1.4
    , filepath >=1.5.4.0 && <1.6
    , hledger-flow
    , path >=0.9.6 && <0.10
    , path-io >=1.8.2 && <1.9
    , process >=1.6.26.1 && <1.7
    , stm >=2.5.3.1 && <2.6
    , text >=2.1.3 && <2.2
    , time >=1.12.2 && <1.13 || >=1.14 && <1.15
  default-language: Haskell2010
  if !os(windows)
    build-depends:
        unix ==2.8.*