summaryrefslogtreecommitdiff
path: root/safe-money-xmlbf.cabal
blob: bef654e7fada110a3803f083adb62f8a58d3769b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: safe-money-xmlbf
version: 0.1.2
license: BSD3
license-file: LICENSE
copyright: Copyright (c) Renzo Carbonara 2016-2018
author: Renzo Carbonara
maintainer: renĪ»ren!zone
stability: Experimental
tested-with: GHC==8.4.1
homepage: https://github.com/k0001/safe-money
bug-reports: https://github.com/k0001/safe-money/issues
category: Money
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md changelog.md
synopsis: Instances from the xmlbf library for the safe-money library.
description:
  This library exports @FromXml@ and @ToXml@ instances (from the @xmlbf@
  library) for many of the types exported by the @safe-money@ library.
  .
  Note: The code in this library used to be part of the @safe-money@
  library itself, so these instances are intended to be backwards
  compatible with older versions of @safe-money@.

source-repository head
  type: git
  location: https://github.com/k0001/safe-money

library
  default-language: Haskell2010
  hs-source-dirs: src
  ghc-options: -Wall -O2
  build-depends:
    base (>=4.8 && <5.0),
    safe-money >=0.8,
    text,
    xmlbf >=0.5
  exposed-modules:
    Money.Xmlbf

test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
    base,
    bytestring,
    safe-money,
    safe-money-xmlbf,
    tasty,
    tasty-hunit,
    tasty-quickcheck,
    text,
    xmlbf