cabal-version: 1.12

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

name:           haspara
version:        0.0.0.9
synopsis:       A library providing definitions to work with monetary values.
description:    Please see the README on GitHub at <https://github.com/telostat/haspara#readme>
category:       Finance
homepage:       https://github.com/telostat/haspara#readme
bug-reports:    https://github.com/telostat/haspara/issues
author:         Vehbi Sinan Tunalioglu
maintainer:     vst@vsthost.com
copyright:      Copyright (c) 2021-2024 Telostat Pte Ltd
license:        MIT
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/telostat/haspara

library
  exposed-modules:
      Haspara
      Haspara.Accounting
      Haspara.Accounting.Account
      Haspara.Accounting.Amount
      Haspara.Accounting.Balance
      Haspara.Accounting.Inventory
      Haspara.Accounting.Journal
      Haspara.Accounting.Ledger
      Haspara.Accounting.Side
      Haspara.Accounting.TrialBalance
      Haspara.Currency
      Haspara.FxQuote
      Haspara.Internal.Aeson
      Haspara.Monetary
      Haspara.Quantity
      Haspara.TH
  other-modules:
      Paths_haspara
  hs-source-dirs:
      src
  ghc-options: -Wall -Wunused-packages
  build-depends:
      aeson >=1.5.6.0 && <2.3
    , base >=4.11 && <5
    , containers >=0.6.4.1 && <0.7
    , data-default ==0.7.*
    , exceptions >=0.10.4 && <0.11
    , hashable >=1.3.0.0 && <1.5
    , megaparsec >=9.0.1 && <9.6
    , mtl >=2.2.2 && <2.4
    , refined >=0.6.3 && <0.9
    , safe-decimal >=0.2.1.0 && <0.3
    , scientific >=0.3.7.0 && <0.4
    , template-haskell >=2.16.0.0 && <2.21
    , text >=1.2.4.1 && <2.2
    , time >=1.9.3 && <1.14
  default-language: Haskell2010

test-suite haspara-doctest
  type: exitcode-stdio-1.0
  main-is: doctest.hs
  other-modules:
      Paths_haspara
  hs-source-dirs:
      test/doctest
  ghc-options: -Wall -threaded
  build-depends:
      base >=4.11 && <5
    , doctest
    , haspara
  default-language: Haskell2010

test-suite haspara-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Tests.Haspara.Accounting.Inventory
      Paths_haspara
  hs-source-dirs:
      test/spec
  ghc-options: -Wall -Wunused-packages -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.11 && <5
    , containers
    , data-default
    , haspara
    , hspec
    , time
  default-language: Haskell2010
