]> gitweb @ CieloNegro.org - time-http.git/blobdiff - time-http.cabal
RFC822
[time-http.git] / time-http.cabal
index 674c130914d04e4b86a5cebc0e77fafb4cf9546d..46d18ccbdb9643b6b432321363d63c64694d523a 100644 (file)
@@ -1,11 +1,12 @@
 Name:                time-http
-Version:             0.1.0.1
+Version:             0.2
 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).
 
 Homepage:            http://cielonegro.org/HTTPDateTime.html
+Bug-Reports:         http://static.cielonegro.org/ditz/time-http/
 License:             PublicDomain
 License-file:        COPYING
 Author:              PHO <pho AT cielonegro DOT org>
@@ -13,7 +14,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
@@ -21,24 +26,52 @@ Source-Repository head
 
 Library
     Exposed-modules:
-        Data.Time.RFC733
-        Data.Time.RFC733.Parsec
-        Data.Time.RFC822
-        Data.Time.RFC822.Parsec
-        Data.Time.RFC1123
-        Data.Time.RFC1123.Parsec
         Data.Time.Asctime
-        Data.Time.Asctime.Parsec
         Data.Time.HTTP
-        Data.Time.HTTP.Parsec
+        Data.Time.RFC1123
+        Data.Time.RFC733
+        Data.Time.RFC822
 
     Other-modules:
         Data.Time.HTTP.Common
+        Data.Time.HTTP.Internal
+        Data.Time.RFC1123.Internal
 
     Build-depends:
-        base   == 4.3.*,
-        parsec == 3.1.*,
-        time   == 1.2.*
+        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.*
+
+    Default-Language:
+         Haskell2010
 
-    Extensions:
-        FlexibleContexts
+    GHC-Options:
+        -Wall
+
+Test-Suite test-time-http
+    Type:    exitcode-stdio-1.0
+    Main-Is: Test/Time/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