packages feed

graceful-0.1.1.2: graceful.cabal

-- Initial graceful.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                graceful
version:             0.1.1.2
synopsis:            Library to write graceful shutdown / upgrade service.
description:         Library to write graceful shutdown / upgrade service.
license:             BSD3
license-file:        LICENSE
author:              Noriyuki OHKAWA <n.ohkawa@gmail.com>
maintainer:          Noriyuki OHKAWA <n.ohkawa@gmail.com>
copyright:           Copyright (c) 2013, Noriyuki OHKAWA
category:            System
build-type:          Simple
cabal-version:       >=1.8
tested-with:         GHC ==7.4.1, GHC ==7.6.3
extra-source-files:
  sample/sample.hs
  -- test target servers
  test/echo.hs
  test/double.hs

source-repository head
  type:                git
  location:            https://github.com/notogawa/graceful.git

library
  hs-source-dirs:      src
  exposed-modules:     System.Posix.Graceful
  ghc-options:         -Wall
  other-modules:       System.Posix.Graceful.Handler
                       System.Posix.Graceful.Worker
                       Network.Socket.Wrapper
  build-depends:       base >=4.5 && <4.7
                     , network >=2.3 && <2.5
                     , unix >=2.5 && <2.7
                     , stm >=2.3 && <2.5
                     , directory >=1.1 && <1.3

test-suite graceful-spec
  hs-source-dirs:      test
  type:                exitcode-stdio-1.0
  ghc-options:         -Wall -threaded
  main-is:             Spec.hs
  other-modules:       System.Posix.GracefulSpec
  build-depends:       base ==4.*
                     , graceful
                     , hspec >=1.3
                     , process
                     , network
                     , unix
                     , stm
                     , directory
                     , filepath