Tested-With: GHC == 6.12.1
Cabal-Version: >= 1.6
Build-Type: Custom
+
Data-Files:
defaultPages/Feed.xml
defaultPages/Help/SampleImage/Large.xml
defaultPages/StyleSheet/Default.xml
rc.d/NetBSD/rakka.in
schemas/rakka-page-1.0.rng
+
Extra-Source-Files:
Rakka.buildinfo.in
configure
Executable rakka
Build-Depends:
- FileManip,
- HTTP,
- HsHyperEstraier,
- HsOpenSSL,
- HsSVN >= 0.3.2,
- Lucu >= 0.5,
- base,
- bytestring,
- containers,
- dataenc,
- directory,
- filepath,
- utf8-string,
- hslogger,
- hxt,
- hxt-xpath,
- magic,
- mtl,
- network,
- parsec,
- stm,
- time,
- time-w3c,
- unix,
- zlib
+ FileManip == 0.3.*,
+ HsHyperEstraier == 0.3.*,
+ HsOpenSSL == 0.8.*,
+ HsSVN == 0.4.*,
+ Lucu == 0.6.*,
+ base == 4.2.*,
+ bytestring == 0.9.*,
+ containers == 0.3.*,
+ dataenc == 0.13.*,
+ directory == 1.0.*,
+ filepath == 1.1.*,
+ utf8-string == 0.3.*,
+ hslogger == 1.0.*,
+ hxt == 8.5.*,
+ hxt-xpath == 8.5.*,
+ magic == 1.0.*,
+ mtl == 1.1.*,
+ network == 2.2.*,
+ parsec == 3.0.*,
+ stm == 2.1.*,
+ time == 1.1.*,
+ time-http == 0.1.*,
+ time-w3c == 0.1.*,
+ unix == 2.4.*,
+ zlib == 0.5.*
+
Main-Is:
Main.hs
+
Other-Modules:
Rakka.Attachment
Rakka.Authorization
Rakka.Wiki.Engine
Rakka.Wiki.Formatter
Rakka.Wiki.Parser
+
Extensions:
- Arrows, ExistentialQuantification, ScopedTypeVariables,
- DeriveDataTypeable, FlexibleInstances
+ Arrows
+ ExistentialQuantification
+ ScopedTypeVariables
+ DeriveDataTypeable
+ FlexibleInstances
+
GHC-Options:
-Wall -threaded
Build-Depends: HUnit
else
Buildable: False
+
Main-Is:
RakkaUnitTest.hs
+
Hs-Source-Dirs:
., tests
+
Other-Modules:
WikiParserTest
+
Extensions:
Arrows
+
GHC-Options:
-Wall -Werror
import Data.List
import Data.Maybe
import Data.Time
+import qualified Data.Time.RFC1123 as RFC1123
import qualified Data.Time.W3C as W3C
import Network.HTTP.Lucu
-import Network.HTTP.Lucu.RFC1123DateTime
import Network.URI hiding (query, fragment)
import Rakka.Environment
import Rakka.Page
>>>
arrIO utcToLocalZonedTime
>>>
- arr formatRFC1123DateTime
+ arr RFC1123.format
>>>
mkText
)
import Control.Monad
import Data.Maybe
import Data.Time
-import Network.HTTP.Lucu.RFC1123DateTime
+import qualified Data.Time.RFC1123 as RFC1123
import Network.URI
import Rakka.Storage
import Rakka.SystemConfig
, linkText = Nothing
}
, Block ( Div [("class", "date")]
- [Inline (Text (formatRFC1123DateTime lastMod))]
+ [Inline (Text (RFC1123.format lastMod))]
)
]
++