]> gitweb @ CieloNegro.org - time-w3c.git/blob - time-w3c.cabal
Haddock comments
[time-w3c.git] / time-w3c.cabal
1 Name:                time-w3c
2 Version:             0.1
3 Synopsis:            Parse, format and convert W3C Date and Time
4 Description:
5         This package provides functionalities to parse and format W3C
6         Date and Time. The package can also be used to convert it
7         from/to 'Data.Time.Calendar.Day' and
8         'Data.Time.LocalTime.ZonedTime'.
9
10         See: <http://www.w3.org/TR/NOTE-datetime>
11
12 License:             PublicDomain
13 License-file:        COPYING
14 Author:              PHO <pho AT cielonegro DOT org>
15 Maintainer:          PHO <pho AT cielonegro DOT org>
16 Stability:           Experimental
17 Homepage:            http://cielonegro.org/W3CDateTime.html
18 Category:            Web
19 Build-type:          Simple
20 Cabal-version:       >= 1.6
21 Extra-source-files:
22
23 Source-Repository head
24     Type: git
25     Location: git://git.cielonegro.org/time-w3c.git
26
27 Flag build-test-suite
28     Description: Build the tst suite.
29     Default:     False
30
31 Library
32     Exposed-modules:
33         Data.Time.W3C
34         Data.Time.W3C.Format
35         Data.Time.W3C.Parser
36         Data.Time.W3C.Parser.Parsec
37         Data.Time.W3C.Types
38
39     Build-depends:
40         base >= 4 && < 5,
41         convertible >= 1.0 && < 2,
42         parsec >= 3 && < 4,
43         time >= 1.1 && < 2
44
45     Extensions:
46         DeriveDataTypeable
47         FlexibleContexts
48         MultiParamTypeClasses
49
50     GHC-Options:
51         -Wall
52
53 Executable W3CDateTimeUnitTest
54     Main-Is:
55         W3CDateTimeUnitTest.hs
56
57     if flag(build-test-suite)
58         Buildable: True
59         Build-Depends: HUnit >= 1.2 && < 2
60     else
61         Buildable: False
62
63     Hs-Source-Dirs:
64         ., tests
65
66     Other-Modules:
67         ConversionTest
68         FormatterTest
69         ParsecParserTest
70
71     Extensions:
72         DeriveDataTypeable
73         FlexibleContexts
74         MultiParamTypeClasses
75
76     GHC-Options:
77         -Wall