cabal-version: 1.12
name: postmark-dmarc
version: 0.1.0.0
license: MIT
license-file: LICENSE
copyright: Michael Gregson (c) 2020
maintainer: Michael Gregosn <mgregson@gregson.io>
author: Michael Gregson <mgregson@gregson.io>
homepage: https://github.com/mgregson/hs-postmark-dmarc#readme
synopsis: A wrapper around Postmark's DMARC REST API
description:
    A wrapper around [Postmark’s DMARC REST API](https://dmarc.postmarkapp.com/api/)
    built on top of "Servant.Client"
category: Network APIs
build-type: Simple
extra-source-files:
    README.md
    ChangeLog

library
    exposed-modules:
        Network.Api.Postmark.Dmarc
        Network.Api.Postmark.Dmarc.Lens
    hs-source-dirs: src
    other-modules:
        Paths_postmark_dmarc
    default-language: Haskell2010
    build-depends:
        aeson >=1.4.6.0 && <1.5,
        aeson-casing >=0.2.0.0 && <0.3,
        base >=4.7 && <5,
        bytestring >=0.10.8.2 && <0.11,
        lens >=4.17.1 && <4.18,
        servant >=0.16.2 && <0.17,
        servant-client >=0.16.0.1 && <0.17,
        text >=1.2.3.1 && <1.3,
        time >=1.8.0.2 && <1.9,
        unordered-containers >=0.2.10.0 && <0.3

test-suite example-client
    type: exitcode-stdio-1.0
    main-is: Main.hs
    hs-source-dirs: example
    other-modules:
        Paths_postmark_dmarc
    default-language: Haskell2010
    build-depends:
        aeson >=1.4.6.0 && <1.5,
        aeson-casing >=0.2.0.0 && <0.3,
        base >=4.7 && <5,
        bytestring >=0.10.8.2 && <0.11,
        either >=5.0.1.1 && <5.1,
        http-client >=0.6.4 && <0.7,
        http-client-tls >=0.3.5.3 && <0.4,
        lens >=4.17.1 && <4.18,
        postmark-dmarc -any,
        servant >=0.16.2 && <0.17,
        servant-client >=0.16.0.1 && <0.17,
        text >=1.2.3.1 && <1.3,
        time >=1.8.0.2 && <1.9,
        unordered-containers >=0.2.10.0 && <0.3

test-suite postmark-dmarc-doctest
    type: exitcode-stdio-1.0
    main-is: Doctest.hs
    hs-source-dirs: test/docs
    other-modules:
        Paths_postmark_dmarc
    default-language: Haskell2010
    ghc-options: -threaded
    build-depends:
        aeson >=1.4.6.0 && <1.5,
        aeson-casing >=0.2.0.0 && <0.3,
        base >=4.7 && <5,
        bytestring >=0.10.8.2 && <0.11,
        doctest >=0.16.2 && <0.17,
        lens >=4.17.1 && <4.18,
        servant >=0.16.2 && <0.17,
        servant-client >=0.16.0.1 && <0.17,
        text >=1.2.3.1 && <1.3,
        time >=1.8.0.2 && <1.9,
        unordered-containers >=0.2.10.0 && <0.3

test-suite postmark-dmarc-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    hs-source-dirs: test/spec
    other-modules:
        JsonParsingSpec
        Paths_postmark_dmarc
    default-language: Haskell2010
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        aeson >=1.4.6.0 && <1.5,
        aeson-casing >=0.2.0.0 && <0.3,
        aeson-diff >=1.1.0.8 && <1.2,
        base >=4.7 && <5,
        bytestring >=0.10.8.2 && <0.11,
        either >=5.0.1.1 && <5.1,
        hspec >=2.7.1 && <2.8,
        lens >=4.17.1 && <4.18,
        postmark-dmarc -any,
        servant >=0.16.2 && <0.17,
        servant-client >=0.16.0.1 && <0.17,
        text >=1.2.3.1 && <1.3,
        time >=1.8.0.2 && <1.9,
        unordered-containers >=0.2.10.0 && <0.3