packages feed

keep-alive-0.2.0.0: keep-alive.cabal

cabal-version: 1.12

name:           keep-alive
version:        0.2.0.0
homepage:       https://github.com/3kyro/keep-alive#readme
bug-reports:    https://github.com/3kyro/keep-alive/issues
author:         Kyriakos Papachrysanthou
maintainer:     papachrysanthou.k@gmail.com
copyright:      2020 Kyriakos Papachrysanthou
license:        BSD3
license-file:   LICENSE
build-type:     Simple
synopsis:       TCP keep alive implementation
category:       Network
description:
    This module allows you to set per-connection keep alive parameters on windows and linux enviroments.
    For more information on keep alive signals see <https://en.wikipedia.org/wiki/Keepalive>.
    See also <https://tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/> for a linux specific implementation.

extra-source-files:
    README.md
    ChangeLog.md
    cbits/CKa.h

source-repository head
  type: git
  location: https://github.com/3kyro/keep-alive

library
  exposed-modules:
      Network.Socket.KeepAlive
  other-modules:
      LibForeign
      Paths_keep_alive
  hs-source-dirs:
      src
  build-depends:
      base >=4.9 && <5
  include-dirs:
      cbits/
  c-sources: cbits/CKa.c
  default-language: Haskell2010

test-suite keep-alive-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_keep_alive
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs
  build-depends:
      base >=4.7 && <5
    , keep-alive
  default-language: Haskell2010