-- 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.1.0.0 x-revision: 1 -- 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 Derek Elkins 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.10 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.8, directory(==1.2.*), filepath(==1.3.*), bytestring(==0.10.*), http-types(==0.8.*), warp(==3.0.*), warp-tls(==3.0.*), wai(==3.0.*), wai-middleware-static(==0.6.*), wai-extra(==3.0.*) -- Directories containing source files. -- hs-source-dirs: -- Base language which the package is written in. default-language: Haskell2010