packages feed

polysemy-webserver-0.1.0.0: polysemy-webserver.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 1125f9e81101158130a70f12db4783c3043caf583c7f7d28e039506c7aed885b

name:           polysemy-webserver
version:        0.1.0.0
synopsis:       Start web servers from within a Polysemy effect stack
description:    Please see the README on GitLab at <https://gitlab.com/A1kmm/polysemy-webserver/-/blob/master/README.md>
category:       Web
author:         Andrew Miller
maintainer:     andrew@amxl.com
copyright:      Copyright (C) 2020 Andrew Miller
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://gitlab.com/A1kmm/polysemy-webserver

library
  exposed-modules:
      Polysemy.WebServer
  other-modules:
      Paths_polysemy_webserver
  hs-source-dirs:
      src
  default-extensions: DataKinds FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables TypeApplications TypeOperators TypeFamilies
  ghc-options: -O2 -flate-specialise -fspecialise-aggressively -Wall -fno-warn-orphans -fplugin=Polysemy.Plugin
  build-depends:
      base >=4.7 && <5
    , bytestring
    , http-types
    , polysemy
    , polysemy-plugin
    , wai
    , warp
  default-language: Haskell2010

test-suite polysemy-webserver-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_polysemy_webserver
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring
    , hspec
    , http-conduit
    , http-types
    , polysemy
    , polysemy-plugin
    , polysemy-webserver
    , wai
    , warp
  default-language: Haskell2010