File: time-parsers.cabal

package info (click to toggle)
haskell-time-parsers 0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80 kB
  • sloc: haskell: 255; makefile: 5
file content (76 lines) | stat: -rw-r--r-- 1,911 bytes parent folder | download
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
cabal-version:      >=1.10
name:               time-parsers
version:            0.2
synopsis:           Parsers for types in `time`.
category:           Parsing
description:
  Parsers for types in `time` using 'parser' library.
  .
  Originally forked from aeson parsers.
  .
  See also <http://hackage.haskell.org/package/attoparsec-iso8601 attoparsec-iso-8601> package.

homepage:           https://github.com/phadej/time-parsers#readme
bug-reports:        https://github.com/phadej/time-parsers/issues
author:             Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:         Oleg Grenrus <oleg.grenrus@iki.fi>
license:            BSD3
license-file:       LICENSE
tested-with:
  GHC ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.7
   || ==9.4.4
   || ==9.6.1

build-type:         Simple
extra-source-files:
  CHANGELOG.md
  README.md

source-repository head
  type:     git
  location: https://github.com/phadej/time-parsers

library
  hs-source-dirs:   src
  ghc-options:      -Wall
  build-depends:
      base              >=4.6      && <4.19
    , parsers           >=0.12.2.1 && <0.13
    , template-haskell  >=2.8.0.0  && <2.21
    , time              >=1.4.0.1  && <1.13

  exposed-modules:
    Data.Time.Parsers
    Data.Time.TH

  default-language: Haskell2010

test-suite date-parsers-tests
  type:             exitcode-stdio-1.0
  main-is:          Tests.hs
  hs-source-dirs:   test
  ghc-options:      -Wall
  build-depends:
      attoparsec        >=0.12.1.6 && <0.15
    , base
    , bifunctors        >=4.2.1    && <5.7
    , parsec            >=3.1.9    && <3.2
    , parsers           >=0.12.3   && <0.13
    , tasty             >=0.10.1.2 && <1.5
    , tasty-hunit       >=0.9.2    && <0.11
    , template-haskell
    , text
    , time
    , time-parsers

  default-language: Haskell2010