packages feed

forex2ledger-1.0.0.2: forex2ledger.cabal

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:           forex2ledger
version:        1.0.0.2
synopsis:       Print Forex quotes in Ledger format
description:    Please see the README on GitHub at <https://github.com/gregorias/forex2ledger#readme>
category:       Finance
homepage:       https://github.com/gregorias/forex2ledger#readme
bug-reports:    https://github.com/gregorias/forex2ledger/issues
author:         Grzegorz Milka
maintainer:     grzegorzmilka@gmail.com
copyright:      Copyright (c) 2021 Grzegorz Milka
license:        AGPL-3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/gregorias/forex2ledger

library
  exposed-modules:
      AppId
      Config
      Ledger
      OpenExchangeRates
  other-modules:
      Paths_forex2ledger
  hs-source-dirs:
      src
  default-extensions:
      DerivingStrategies GeneralisedNewtypeDeriving InstanceSigs LambdaCase NoImplicitPrelude NumericUnderscores ScopedTypeVariables TupleSections TypeApplications UnicodeSyntax
  build-depends:
      HTTP
    , aeson
    , base >=4.13 && <5
    , containers
    , currency-codes
    , hledger-lib >=1.21
    , relude
    , text
    , time
    , tomland
    , unordered-containers
    , url
  default-language: Haskell2010

executable forex2ledger
  main-is: Main.hs
  other-modules:
      Paths_forex2ledger
  hs-source-dirs:
      app
  default-extensions:
      DerivingStrategies GeneralisedNewtypeDeriving InstanceSigs LambdaCase NoImplicitPrelude NumericUnderscores ScopedTypeVariables TupleSections TypeApplications UnicodeSyntax
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.13 && <5
    , forex2ledger
    , optparse-applicative
    , relude
    , text
  default-language: Haskell2010

test-suite forex2ledger-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Test.Config
      Test.Ledger
      Test.OpenExchangeRates
      Paths_forex2ledger
  hs-source-dirs:
      test
  default-extensions:
      DerivingStrategies GeneralisedNewtypeDeriving InstanceSigs LambdaCase NoImplicitPrelude NumericUnderscores ScopedTypeVariables TupleSections TypeApplications UnicodeSyntax
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.13 && <5
    , containers
    , currency-codes
    , forex2ledger
    , hspec
    , hspec-expectations-pretty-diff
    , relude
    , time
  default-language: Haskell2010