Commits

Anonymous committed ac8b9ae

Cleaned files a bit

  • Participants
  • Parent commits 7c994db

Comments (0)

Files changed (7)

snaplet-mongoDB.cabal

 -- Extra-source-files:  
 
 -- Constraint on the version of Cabal needed to build this package.
-Cabal-version:       >=1.2
+Cabal-version:       >= 1.6
 
 
 Library
     , FlexibleInstances
     , TypeSynonymInstances
     , MultiParamTypeClasses     
-  
+  

snaplet-mongoDB.cabal~

+-- snaplet-mongoDB.cabal auto-generated by cabal init. For additional
+-- options, see
+-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
+-- The name of the package.
+Name:                snaplet-mongoDB
+
+-- The package version. See the Haskell package versioning policy
+-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
+-- standards guiding when and how versions should be incremented.
+Version:             0.2
+
+-- A short (one-line) description of the package.
+Synopsis:            Snap Framework MongoDB support as Snaplet
+
+-- A longer description of the package.
+-- Description:         
+
+-- The license under which the package is released.
+License:             BSD3
+
+-- The file containing the license text.
+License-file:        LICENSE
+
+-- The package author(s).
+Author:              Kamil Ciemniewski
+
+-- An email address to which users can send suggestions, bug reports,
+-- and patches.
+Maintainer:          ciemniewski.kamil@gmail.com
+
+-- A copyright notice.
+-- Copyright:           
+
+Category:            Web
+
+Build-type:          Simple
+
+-- Extra files to be distributed with the package, such as examples or
+-- a README.
+-- Extra-source-files:  
+
+-- Constraint on the version of Cabal needed to build this package.
+Cabal-version:       >=1.2
+
+
+Library
+  hs-source-dirs: src
+
+  library
+  exposed-modules:  Snap.Snaplet.MongoDB
+                  , Snap.Snaplet.MongoDB.Template
+                  , Snap.Snaplet.MongoDB.FilterOps
+                  , Snap.Snaplet.MongoDB.MongoEntity
+                  , Snap.Snaplet.MongoDB.MongoValue
+                  , Snap.Snaplet.MongoDB.Parse
+  
+  -- Packages needed in order to build this package.
+  Build-depends:
+    base >= 4 && < 5,
+    bytestring >= 0.9.1 && < 0.10,
+    bson == 0.1.6,
+    compact-string-fix == 0.3.2,
+    containers == 0.4.0.0,
+    mongoDB == 1.1.1,
+    mtl >= 2 && < 3,
+    regular >= 0.3.2,
+    safe,
+    snap == 0.7.*,
+    snap-core == 0.7.*,
+    text >= 0.11 && < 0.12,
+    time >= 1.1 && < 1.5,
+    parsec == 3.1.1,
+    haskell-src-exts == 1.11.1,
+    template-haskell,
+    MonadCatchIO-transformers == 0.2.2.2
+  
+  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
+  -- Build-tools:    
+  
+  extensions: 
+      OverloadedStrings
+    , FlexibleInstances
+    , TypeSynonymInstances
+    , MultiParamTypeClasses     
+  

src/Snap/Snaplet/MongoDB/FilterOps.hs

 {-# LANGUAGE OverloadedStrings #-}
--- |
--- Module      : Snap.Snaplet.MongoDB.FilterOps
--- Description : Provides the filtering operations.
--- Copyright   : (C) 2011 Massive Tactical Limited
--- License     : BSD3
---
--- Maintainer  : Blake Rain <blake.rain@massivetactical.com>
--- Stability   : Provisional
--- Portability : Portable
---
--- Provides the filtering operations.
---
 
 module Snap.Snaplet.MongoDB.FilterOps
        ( FilterOp
 -- mode                  : Haskell
 -- fill-column           : 120
 -- default-justification : left
--- End:
+-- End:

src/Snap/Snaplet/MongoDB/MongoEntity.hs

 {-# LANGUAGE TypeFamilies, MultiParamTypeClasses, FlexibleContexts #-}
--- |
--- Module : Snap.Snaplet.MongoDB.MongoEntity
--- Description : Provides the MongoEntity type class.
--- Copyright : (C) 2011 Massive Tactical Limited
--- License : BSD3
---
--- Maintainer : Blake Rain <blake.rain@massivetactical.com>
--- Stability : Provisional
--- Portability : Portable
---
--- Provides the MongoEntity type class.
---
 
 module Snap.Snaplet.MongoDB.MongoEntity
        ( MongoEntity (..)
 -- mode                  : Haskell
 -- fill-column           : 120
 -- default-justification : left
--- End:
+-- End:

src/Snap/Snaplet/MongoDB/MongoValue.hs

 {-# LANGUAGE OverloadedStrings, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts, TypeFamilies #-}
 {-# LANGUAGE TupleSections, TypeSynonymInstances, RankNTypes, ScopedTypeVariables, IncoherentInstances #-}
--- |
--- Module      : Snap.Snaplet.MongoDB.MongoValue
--- Description : Provides the MongoValue type class and basic instances.
--- Copyright   : (C) 2011 Massive Tactical Limited
--- License     : BSD3
---
--- Maintainer  : Blake Rain <blake.rain@massivetactical.com>
--- Stability   : Provisional
--- Portability : Unknown
---
--- Provides the MongoValue type class and some basic instances.
---
 
 module Snap.Snaplet.MongoDB.MongoValue
        ( MongoValue (..)
 -- mode                  : Haskell
 -- fill-column           : 120
 -- default-justification : left
--- End:
+-- End:

src/Snap/Snaplet/MongoDB/Parse.hs

 {-# LANGUAGE TemplateHaskell #-}
 {-# OPTIONS_GHC -fno-warn-missing-fields #-}
--- |
--- Module      : Snap.Snaplet.MongoDB.Parse
--- Description : Parser for MongoDB documents.
--- Copyright   : (C) 2011 Massive Tactical Limited
--- License     : BSD3
---
--- Maintainer  : Blake Rain <blake.rain@massivetactical.com>
--- Stability   : Provisional
--- Portability : Portable
---
--- Provides a quasi-quote parser for MongoDB documents.
---
+
 
 module Snap.Snaplet.MongoDB.Parse
        ( mongo
 -- mode                  : Haskell
 -- fill-column           : 120
 -- default-justification : left
--- End:
+-- End:

src/Snap/Snaplet/MongoDB/Template.hs

 {-# LANGUAGE TemplateHaskell, QuasiQuotes #-}
--- |
--- Module      : Snap.Snaplet.MongoDB.Template
--- Description : Template Haskell functions for creating MongoDB entities.
--- Copyright   : (C) 2011 Massive Tactical Limited
--- License     : BSD3
---
--- Maintainer  : Blake Rain <blake.rain@massivetactical.com>
--- Stability   : Provisional
--- Portability : Unknown
---
--- Various Template Haskell functions for creating MongoDB entities.
---
+
 
 module Snap.Snaplet.MongoDB.Template
        ( asMongoEntity
 -- mode                  : Haskell
 -- fill-column           : 120
 -- default-justification : left
--- End:
+-- End: