X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=time-w3c.git;a=blobdiff_plain;f=time-w3c.cabal;h=fef0996405b63bd823aa3143e3eae5312b9bf706;hp=6b08679ce6627e9768efa6f34752df0b031826a0;hb=6f8578a5f973cf4687dbea90c7a42c008925a2ec;hpb=fb743c0b822f29bac00c39e762ddd57dc65ee28f diff --git a/time-w3c.cabal b/time-w3c.cabal index 6b08679..fef0996 100644 --- a/time-w3c.cabal +++ b/time-w3c.cabal @@ -18,16 +18,51 @@ Build-type: Simple Cabal-version: >= 1.2.3 Extra-source-files: +Source-Repository head + Type: git + Location: git://git.cielonegro.org/time-w3c.git + +Flag build-test-suite + Description: Build the tst suite. + Default: False + Library Exposed-modules: Data.Time.W3C Data.Time.W3C.Format + Data.Time.W3C.Parser + Data.Time.W3C.Parser.Parsec Data.Time.W3C.Types Build-depends: base >= 4 && < 5, - convertible >= 1.0, - time >= 1.1 + convertible >= 1.0 && < 2, + parsec >= 3 && < 4, + time >= 1.1 && < 2 + + Extensions: + DeriveDataTypeable + FlexibleContexts + MultiParamTypeClasses + + GHC-Options: + -Wall + +Executable W3CDateTimeUnitTest + Main-Is: + W3CDateTimeUnitTest.hs + + if flag(build-test-suite) + Buildable: True + Build-Depends: HUnit >= 1.2 && < 2 + else + Buildable: False + + Hs-Source-Dirs: + ., tests + + Other-Modules: + ParsecParserTest Extensions: DeriveDataTypeable