packages feed

advent-of-code-api-0.2.12.0: advent-of-code-api.cabal

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:               advent-of-code-api
version:            0.2.12.0
synopsis:           Advent of Code REST API bindings and servant API
description:
  Haskell bindings for Advent of Code REST API and a servant API.  Please use
  responsibly! See README.md or "Advent" module for an introduction and
  tutorial.

category:           Web
homepage:           https://github.com/mstksg/advent-of-code-api#readme
bug-reports:        https://github.com/mstksg/advent-of-code-api/issues
author:             Justin Le
maintainer:         justin@jle.im
copyright:          (c) Justin Le 2018
license:            BSD3
license-file:       LICENSE
build-type:         Simple
tested-with:        GHC >=8.0
extra-source-files:
  CHANGELOG.md
  README.md
  test-data/correct-rank.txt
  test-data/correct.txt
  test-data/incorrect-high.txt
  test-data/incorrect-low.txt
  test-data/incorrect-wait.txt
  test-data/incorrect.txt
  test-data/invalid.txt
  test-data/wait.txt
  test-data/wait2.txt

source-repository head
  type:     git
  location: https://github.com/mstksg/advent-of-code-api

library
  exposed-modules:
    Advent
    Advent.API
    Advent.Types

  other-modules:
    Advent.Cache
    Advent.Throttle

  hs-source-dirs:   src
  ghc-options:      -Wall -Wcompat -Werror=incomplete-patterns
  build-depends:
      aeson
    , base                 >=4.9 && <5
    , bytestring
    , containers
    , deepseq
    , directory
    , filepath
    , finite-typelits
    , http-api-data
    , http-client
    , http-client-tls
    , http-media
    , megaparsec           >=7
    , mtl
    , profunctors
    , servant
    , servant-client
    , servant-client-core
    , stm
    , tagsoup
    , text
    , time
    , time-compat          >=1.9

  default-language: Haskell2010

test-suite advent-of-code-api-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  other-modules:    Paths_advent_of_code_api
  hs-source-dirs:   test
  ghc-options:
    -Wall -Wcompat -Werror=incomplete-patterns -threaded -rtsopts
    -with-rtsopts=-N

  build-depends:
      advent-of-code-api
    , base                >=4.9 && <5
    , directory
    , filepath
    , HUnit
    , text

  default-language: Haskell2010