@@ -10,6 +10,10 @@ maintainer: nick@typeable.io
1010category: Data
1111build-type: Simple
1212
13+source-repository: head
14+ type: git
15+ location: https://github.com/typeable/bucks.git
16+
1317flag aeson
1418 description: Enable Aeson instances
1519 default: False
@@ -33,9 +37,11 @@ library
3337 if flag(aeson)
3438 other-modules: Data.Money.JSON
3539 build-depends: aeson >= 2.0 && < 3.0
40+ ghc-options: -DUSE_AESON
3641 if flag(rel8)
3742 other-modules: Data.Money.Rel8
3843 build-depends: rel8 >= 1.4,
3944 scientific
45+ ghc-options: -DUSE_REL8
4046 hs-source-dirs: src
4147 default-language: Haskell2010