]> gitweb @ CieloNegro.org - time-w3c.git/blob - time-w3c.cabal
Bump version to 0.1.0.1
[time-w3c.git] / time-w3c.cabal
1 Name:                time-w3c
2 Version:             0.1.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 Bug-Reports:         http://static.cielonegro.org/ditz/time-w3c/
19 Category:            Web
20 Build-type:          Simple
21 Cabal-version:       >= 1.6
22 Extra-Source-Files:
23     COPYING
24     NEWS
25
26 Source-Repository head
27     Type: git
28     Location: git://git.cielonegro.org/time-w3c.git
29
30 Flag build-test-suite
31     Description: Build the tst suite.
32     Default:     False
33
34 Library
35     Exposed-modules:
36         Data.Time.W3C
37         Data.Time.W3C.Format
38         Data.Time.W3C.Parser
39         Data.Time.W3C.Parser.Parsec
40         Data.Time.W3C.Types
41
42     Build-depends:
43         base        == 4.3.*,
44         convertible == 1.0.*,
45         parsec      == 3.1.*,
46         time        == 1.2.*
47
48     Extensions:
49         DeriveDataTypeable
50         FlexibleContexts
51         MultiParamTypeClasses
52
53     GHC-Options:
54         -Wall
55
56 Executable W3CDateTimeUnitTest
57     Main-Is:
58         W3CDateTimeUnitTest.hs
59
60     if flag(build-test-suite)
61         Buildable: True
62         Build-Depends: HUnit >= 1.2 && < 2
63     else
64         Buildable: False
65
66     Hs-Source-Dirs:
67         ., tests
68
69     Other-Modules:
70         ConversionTest
71         FormatterTest
72         ParsecParserTest
73
74     Extensions:
75         DeriveDataTypeable
76         FlexibleContexts
77         MultiParamTypeClasses
78
79     GHC-Options:
80         -Wall