]> gitweb @ CieloNegro.org - time-http.git/blobdiff - time-http.cabal
Rename Asctime -> C
[time-http.git] / time-http.cabal
index 4687c0fb0ad74680926ddedfa1352926f696823b..d30a68a90e325199c4be99c43ea4e95d129a3284 100644 (file)
@@ -1,9 +1,10 @@
 Name:                time-http
-Version:             0.2
+Version:             0.3
 Synopsis:            Parse and format HTTP/1.1 Date and Time strings
 Description:
         This package provides functionalities to parse and format
-        various Date and Time formats allowed in HTTP\/1.1 (RFC 2616).
+        various Date and Time formats allowed in HTTP\/1.1
+        (<http://tools.ietf.org/html/rfc2616#section-3.3>).
 
 Homepage:            http://cielonegro.org/HTTPDateTime.html
 Bug-Reports:         http://static.cielonegro.org/ditz/time-http/
@@ -14,7 +15,11 @@ Maintainer:          PHO <pho AT cielonegro DOT org>
 Stability:           Experimental
 Category:            Web
 Build-type:          Simple
-Cabal-version:       >= 1.6
+Tested-With:         GHC == 7.0.3
+Cabal-version:       >= 1.10
+Extra-Source-Files:
+    COPYING
+    ChangeLog
 
 Source-Repository head
     Type: git
@@ -22,31 +27,51 @@ Source-Repository head
 
 Library
     Exposed-modules:
-        Data.Time.RFC733
-        Data.Time.RFC733.Internal
-        Data.Time.RFC822
-        Data.Time.RFC822.Internal
-        Data.Time.RFC1123
-        Data.Time.RFC1123.Internal
-        Data.Time.Asctime
-        Data.Time.Asctime.Internal
-        Data.Time.HTTP
-        Data.Time.HTTP.Internal
+        Data.Time.Format.C
+        Data.Time.Format.RFC733
+        Data.Time.Format.RFC822
+        Data.Time.Format.RFC1123
+        Data.Time.Format.HTTP
 
     Other-modules:
-        Data.Time.HTTP.Common
+        Data.Time.Format.HTTP.Common
+        Data.Time.Format.RFC822.Internal
 
     Build-depends:
         ascii                == 0.0.*,
-        blaze-builder        == 0.3.*,
-        blaze-textual        == 0.2.*,
+        attempt              == 0.3.*,
         attoparsec           == 0.9.*,
         base                 == 4.*,
         base-unicode-symbols == 0.2.*,
+        blaze-builder        == 0.3.*,
+        blaze-textual        == 0.2.*,
+        bytestring           == 0.9.*,
+        convertible-text     == 0.4.*,
+        tagged               == 0.2.*,
         time                 == 1.2.*
 
-    Extensions:
-        FlexibleContexts
+    Default-Language:
+         Haskell2010
 
     GHC-Options:
-        -Wall
\ No newline at end of file
+        -Wall
+
+Test-Suite test-time-http
+    Type:    exitcode-stdio-1.0
+    Main-Is: Test/Time/Format/HTTP.hs
+    Default-Language: Haskell2010
+    Build-depends:
+        QuickCheck           == 2.4.*,
+        ascii                == 0.0.*,
+        attempt              == 0.3.*,
+        attoparsec           == 0.9.*,
+        base                 == 4.*,
+        base-unicode-symbols == 0.2.*,
+        blaze-builder        == 0.3.*,
+        blaze-textual        == 0.2.*,
+        bytestring           == 0.9.*,
+        convertible-text     == 0.4.*,
+        tagged               == 0.2.*,
+        time                 == 1.2.*
+    GHC-Options:
+        -Wall -fno-warn-orphans