packages feed

Ketchup-0.2.3: Ketchup.cabal

Name:           Ketchup
Version:        0.2.3
Cabal-Version:  >= 1.6
Build-Type:     Simple
License:        MIT
License-File:   LICENSE
Author:         Alessandro Gatti
Maintainer:     zikyky@gmail.com
Homepage:       https://github.com/Hamcha/Ketchup
Category:       Web, Ketchup
Synopsis:       A super small web framework for those who don't like big and fancy codebases
Description:
    Ketchup is a very small HTTP server implementation, currently under 300 LoC total!
    .
    Ketchup is also made to be as modular and embeddable as possible, if you want a cabal-free Haskell app, just take those two/three files you need and put it in your project!
    .
    Currently Ketchup comes with:
    .
    * Basic httpd functionality (IPV4 only for now)
    .
    * Regexp routing with parameters (ie. \`/user/:name/(.\*)\`)
    .
    * Static file handler (ie. \`static \".\"\` as route/handler)
    .
    Most of the project is dependency-free and only uses stuff included in Prelude, with the exception of Ketchup.Static who uses the mime-types package from Hackage, which is a single separately downloadable file.

Extra-Source-Files:
  example.hs,
  LICENSE,
  README.md

Library
  Exposed-Modules:
    Ketchup.Chunked
    Ketchup.Httpd
    Ketchup.Routing
    Ketchup.Static
    Ketchup.Utils

  Build-Depends:
    base               ==4.*,
    bytestring         >=0.9 && <0.11,
    containers         >=0.2 && <0.6,
    directory           <1.3,
    mime-types          <0.2,
    network             <2.5,
    regex-pcre-builtin  <1.0,
    text                <2.0

Source-Repository head
  type:       git
  location:   git://github.com/Hamcha/Ketchup.git