Skip to content

Commit

Permalink
Cabalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Farmer committed Jan 3, 2012
1 parent 40cfbce commit 596262b
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
dist/
*.hi
*.o
*.swp
29 changes: 29 additions & 0 deletions LICENSE
@@ -0,0 +1,29 @@
Copyright (c) 2012 Andrew Farmer
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Andrew Farmer nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 2 additions & 0 deletions Setup.hs
@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain
39 changes: 39 additions & 0 deletions spock.cabal
@@ -0,0 +1,39 @@
Name: spock
Version: 0.0.1
Synopsis: Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp
Homepage: https://github.com/xich/spock
Bug-reports: https://github.com/xich/spock/issues
License: BSD3
License-file: LICENSE
Author: Andrew Farmer <anfarmer@ku.edu>
Maintainer: Andrew Farmer <anfarmer@ku.edu>
Copyright: (c) 2012 Andrew Farmer
Category: Web
Stability: experimental
Build-type: Simple
Cabal-version: >= 1.10
-- A longer description of the package.
-- Description:

Extra-source-files:
README
example.hs

Library
Exposed-modules: Network.Wai.Util, Web.Spock
default-language: Haskell2010
Build-depends: aeson >= 0.5,
base >= 4.3.1,
blaze-builder >= 0.3,
bytestring >= 0.9.1,
case-insensitive >= 0.4,
data-default >= 0.3,
http-types >= 0.6.8,
mtl >= 2.0.1,
text >= 0.11.1,
wai >= 0.4.3,
warp >= 0.4.6

source-repository head
type: git
location: git://github.com/xich/spock.git

0 comments on commit 596262b

Please sign in to comment.