-- The name of the package.
name:                hserv

-- The package version.  See the Haskell package versioning policy (PVP) 
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.2.0

-- A short (one-line) description of the package.
synopsis:            Simple http server in haskell.

-- A longer description of the package.
description:         Simple http server in haskell, similar to as provided by `python -m SimpleHTTPServer`.

-- URL for the project homepage or repository.
homepage:            http://github.com/rejuvyesh/hserv

-- The license under which the package is released.
license:             MIT

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              rejuvyesh

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          rejuvyesh <mail@rejuvyesh.com>

-- A copyright notice.
-- copyright:           

category:            Network

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a 
-- README.
extra-source-files:  README.md

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.10


executable hserv
  -- .hs or .lhs file containing the Main module.
  main-is:             Main.hs
  ghc-options:         -O3 -Wall -threaded
  -- Modules included in this executable, other than Main.
  -- other-modules:       
  
  -- LANGUAGE extensions used by modules in this package.
  other-extensions:    OverloadedStrings, DeriveDataTypeable
  
  -- Other library packages from which modules are imported.
  build-depends:       base >=4.6 && <=5, wai-app-static >=2.0,
                       warp >=2.0, cmdargs >=0.10, wai-extra >=2.0
  
  -- Directories containing source files.
  hs-source-dirs:      src
  
  -- Base language which the package is written in.
  default-language:    Haskell2010

source-repository head
  type: git
  location: https://github.com/rejuvyesh/hserv
