]> gitweb @ CieloNegro.org - time-w3c.git/blob - time-w3c.cabal
time-w3c.cabal: no need to declare 'Extra-source-files:'.
[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
22 Source-Repository head
23     Type: git
24     Location: git://git.cielonegro.org/time-w3c.git
25
26 Flag build-test-suite
27     Description: Build the tst suite.
28     Default:     False
29
30 Library
31     Exposed-modules:
32         Data.Time.W3C
33         Data.Time.W3C.Format
34         Data.Time.W3C.Parser
35         Data.Time.W3C.Parser.Parsec
36         Data.Time.W3C.Types
37
38     Build-depends:
39         base >= 4 && < 5,
40         convertible >= 1.0 && < 2,
41         parsec >= 3 && < 4,
42         time >= 1.1 && < 2
43
44     Extensions:
45         DeriveDataTypeable
46         FlexibleContexts
47         MultiParamTypeClasses
48
49     GHC-Options:
50         -Wall
51
52 Executable W3CDateTimeUnitTest
53     Main-Is:
54         W3CDateTimeUnitTest.hs
55
56     if flag(build-test-suite)
57         Buildable: True
58         Build-Depends: HUnit >= 1.2 && < 2
59     else
60         Buildable: False
61
62     Hs-Source-Dirs:
63         ., tests
64
65     Other-Modules:
66         ConversionTest
67         FormatterTest
68         ParsecParserTest
69
70     Extensions:
71         DeriveDataTypeable
72         FlexibleContexts
73         MultiParamTypeClasses
74
75     GHC-Options:
76         -Wall