summaryrefslogtreecommitdiff
path: root/advent-of-code-api.cabal
blob: 94cab43b626effe1faeef09c76e8fec28a350f40 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
cabal-version: 1.12

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

name:           advent-of-code-api
version:        0.2.5.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
tested-with:    GHC >= 8.0
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.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.Throttle
      Advent.Cache
  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
  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:
      HUnit
    , advent-of-code-api
    , base >=4.9 && <5
    , directory
    , filepath
    , text
  default-language: Haskell2010