* removed dependency on Network.CGI
* Cabal & License file
This commit is contained in:
parent
4491a9087c
commit
eaa9ed5b98
3 changed files with 33 additions and 1 deletions
1
LICENSE
Normal file
1
LICENSE
Normal file
|
@ -0,0 +1 @@
|
|||
I don't feel like writing a license for this. Do whatever you want with this, but credit me.
|
31
TazBlog.cabal
Normal file
31
TazBlog.cabal
Normal file
|
@ -0,0 +1,31 @@
|
|||
Name: TazBlog
|
||||
Version: 3.0
|
||||
Synopsis: Tazjin's Blog
|
||||
License-file: LICENSE
|
||||
Author: Vincent Ambo
|
||||
Maintainer: tazjin@gmail.com
|
||||
Category: Web blog
|
||||
Build-type: Simple
|
||||
cabal-version: >= 1.2
|
||||
|
||||
|
||||
Executable tazblog
|
||||
hs-source-dirs: src
|
||||
main-is: Main.hs
|
||||
|
||||
Build-depends:
|
||||
base,
|
||||
bytestring,
|
||||
happstack-server,
|
||||
text,
|
||||
blaze-html,
|
||||
crypto-api,
|
||||
cryptohash,
|
||||
old-locale,
|
||||
time,
|
||||
base64-bytestring,
|
||||
acid-state,
|
||||
ixset,
|
||||
safecopy,
|
||||
mtl,
|
||||
transformers
|
|
@ -7,6 +7,7 @@ module Main where
|
|||
import Control.Applicative ((<$>), (<*>), optional, pure)
|
||||
import Control.Exception (bracket)
|
||||
import Control.Monad (msum, mzero, when, unless)
|
||||
import Control.Monad.IO.Class (liftIO)
|
||||
import Control.Monad.State (get, put)
|
||||
import Control.Monad.Reader (ask)
|
||||
import qualified Crypto.Hash.SHA512 as SHA
|
||||
|
@ -22,7 +23,6 @@ import qualified Data.Text as T
|
|||
import Data.Time
|
||||
import Data.SafeCopy (base, deriveSafeCopy)
|
||||
import Happstack.Server hiding (Session)
|
||||
import Network.CGI (liftIO)
|
||||
import System.Environment(getEnv)
|
||||
import System.Locale (defaultTimeLocale)
|
||||
|
||||
|
|
Loading…
Reference in a new issue