packages feed

warp-systemd-0.3.0.0: warp-systemd.cabal

cabal-version:       2.4
name:                warp-systemd
version: 0.3.0.0
synopsis:            Socket activation and other systemd integration for the Warp web server (WAI)
homepage:            https://github.com/hercules-ci/warp-systemd
license:             BSD-3-Clause
license-file:        LICENSE
author:              Robert Hensing
maintainer:          hackage@roberthensing.nl
copyright:           Robert Hensing
category:            Web
build-type:          Simple
extra-source-files:  CHANGELOG.md

common common-options
  build-depends:       base >=4.9 && < 4.17

  default-language:    Haskell2010
  ghc-options:         -Wall

library
  import:              common-options
  exposed-modules:     Network.Wai.Handler.Warp.Systemd
  hs-source-dirs:      src
  build-depends:       network >= 3.1 && < 3.2
                     , systemd == 2.*
                     , unix
                     , wai == 3.2.*
                     , warp >= 3.2.0 && < 3.4

executable warp-systemd-example
  import:              common-options
  build-depends:       http-types
                     , wai
                     , warp
                     , warp-systemd
  hs-source-dirs:      example
  main-is:             Main.hs