packages feed

sws-0.4.0.0: sws.cabal

-- Initial sws.cabal generated by cabal init.  For further documentation, 
-- see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                sws

-- 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.4.0.0

-- A short (one-line) description of the package.
synopsis:            A simple web server for serving directories, similar to weborf.

-- A longer description of the package.
description:         
    The main drivers for this application were Windows (and Linux) support and
    security, and to a lesser extent performance.  Security is improved over
    weborf by using Haskell, supporting TLS, and explicitly NOT supporting CGIs
    of any kind.

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

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

-- The package author(s).
author:              Derek Elkins

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          derek.a.elkins@gmail.com

-- A copyright notice.
copyright:           Copyright (c) 2014-2017 Derek Elkins

category:            Web

build-type:          Simple

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

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

source-repository head
    type: git
    location: https://github.com/derekelkins/sws.git

executable sws
  -- .hs or .lhs file containing the Main module.
  main-is:             Main.hs
  
  -- Modules included in this executable, other than Main.
  -- other-modules:       
  
  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:    
  
  -- Other library packages from which modules are imported.
  -- build-depends:       
    -- base >=4.6 && <4.10,
    -- bytestring(==0.10.*), 
    -- cryptonite(==0.24.*),
    -- directory(==1.3.*), 
    -- filepath >=1.3 && <1.5, 
    -- http-types(==0.9.*), 
    -- hourglass(==0.2.*),
    -- network(==2.6.*),
    -- resourcet(==1.1.*),
    -- transformers(==0.5.*),
    -- warp >=3.0 && <3.3,
    -- warp-tls >=3.0.1.2 && <3.3, 
    -- wai >=3.0 && <3.3,
    -- wai-middleware-static >=0.6 && <0.9, 
    -- wai-extra >=3.0.3 && <3.1
  build-depends:       
    base                  >= 4.9.1 && < 4.10,
    bytestring            >= 0.10.8 && < 0.11,
    cryptonite            >= 0.24 && < 0.25,
    directory             >= 1.3.0 && < 1.4,
    filepath              >= 1.4.1 && < 1.5,
    hourglass             >= 0.2.10 && < 0.3,
    http-types            >= 0.9.1 && < 0.10,
    network               >= 2.6.3 && < 2.7,
    resourcet             >= 1.1.9 && < 1.2,
    transformers          >= 0.5.2 && < 0.6,
    wai                   >= 3.2.1 && < 3.3,
    wai-extra             >= 3.0.20 && < 3.1,
    wai-middleware-static >= 0.8.1 && < 0.9,
    warp                  >= 3.2.13 && < 3.3,
    warp-tls              >= 3.2.4 && < 3.3
  
  -- Directories containing source files.
  -- hs-source-dirs:      
  
  -- Base language which the package is written in.
  default-language:    Haskell2010