packages feed

gemini-router-0.1.2.0: gemini-router.cabal

cabal-version:       2.2

name:                gemini-router
version:             0.1.2.0
synopsis:            A simple Happstack-style Gemini router
description:
  This package contains a 'Router' monad transformer that works on top of the
  gemini-server package, with a functional+monadic+alternative interface,
  similar to Happstack. With it you can define gemini endpoints, capture parts
  of the request, and pass the requests to specific handlers.
homepage:            https://sr.ht/~fgaz/haskell-gemini/
bug-reports:         https://todo.sr.ht/~fgaz/haskell-gemini
license:             BSD-3-Clause
license-file:        LICENSE
author:              Francesco Gazzetta
maintainer:          Francesco Gazzetta <fgaz@fgaz.me>
copyright:           © 2020 Francesco Gazzetta and contributors
category:            Gemini
extra-source-files:  CHANGELOG.md, README.md

source-repository head
  type:                git
  location:            https://git.sr.ht/~fgaz/gemini-router

library
  exposed-modules:     Network.Gemini.Router
  -- other-modules:
  other-extensions:    FlexibleInstances, CPP
  build-depends:       base ^>=4.12
                         || ^>=4.13
                         || ^>=4.14
                         || ^>=4.15
                         || ^>=4.16
                         || ^>=4.17
                     , gemini-server ^>=0.2.0.0 || ^>=0.3.0.0
                     , transformers ^>=0.5.6.2
                     , network-uri ^>=2.6.3.0 || ^>=2.7.0.0
                     , HsOpenSSL ^>=0.11.5.1
  -- hs-source-dirs:
  ghc-options:         -Wall
  default-language:    Haskell2010