packages feed

shellmate-0.3.4: shellmate.cabal

name:                shellmate
version:             0.3.4
synopsis:            Simple interface for shell scripting in Haskell.
description:         Aims to simplify development of cross-platform shell scripts and similar things.
homepage:            https://github.com/valderman/shellmate
license:             BSD3
license-file:        LICENSE
author:              Anton Ekblad
maintainer:          anton@ekblad.cc
category:            System
build-type:          Simple
cabal-version:       >=1.10
bug-reports:         https://github.com/valderman/shellmate/issues

source-repository head
    type:       git
    location:   https://github.com/valderman/shellmate.git

flag with-posix
    default: False
    description:
      Build the POSIX-specific Control.Shell.Posix module even when on Windows.
      This requires a POSIX compatibility layer such as Cygwin.

library
  exposed-modules:
    Control.Shell
    Control.Shell.Concurrent
  other-modules:
    Control.Shell.Handle
    Control.Shell.Internal
    Control.Shell.Base
    Control.Shell.Temp
    Control.Shell.Control
    Control.Shell.File
    Control.Shell.Directory
    Control.Shell.Color
  build-depends:
    base         >=4.8  && <5,
    transformers >=0.3  && <0.6,
    bytestring   >=0.10 && <0.11,
    filepath     >=1.3  && <1.5,
    process      >=1.1  && <1.5,
    directory    >=1.1  && <1.3,
    temporary    >=1.1  && <1.3
  default-language:
    Haskell2010
  ghc-options:
    -Wall
  if flag(with-posix) || !os(windows)
    cpp-options:     -DWITH_POSIX
    exposed-modules: Control.Shell.Posix
    other-modules:   Control.Shell.Daemon
    build-depends:   unix >=2.7 && <2.8