Name:                hsshellscript
Version:             3.4.0
Synopsis:            Haskell for Unix shell scripting tasks
Description:         A Haskell-library for tasks which are usually done in
                     shell scripts. This includes parsing command line
                     arguments; dealing with paths; some commands for dealing
                     with files; calling external programs and subroutines as
                     separate processes; pipes and redirection of input and
                     output; and error handling.
Homepage:            http://www.volker-wysk.de/hsshellscript/
License:             LGPL
License-file:        LICENSE
Author:              Volker Wysk
Maintainer:          hsss@volker-wysk.de
Copyright:           (c)2004-2011 by Volker Wysk
Category:            System
Build-type:          Simple
Extra-source-files:  README, manual/*.html, manual/LICENSE, Makefile, test/Makefile, test/*.hs, test/*.c, test/*.chs

cabal-version:       >= 1.6


Library
  Exposed-Modules:   HsShellScript
                     HsShellScript.Args
                     HsShellScript.Paths
                     HsShellScript.Shell
  Other-Modules:     HsShellScript.Commands
                     HsShellScript.GetOpt
                     HsShellScript.Misc
                     HsShellScript.ProcErr
  Extensions:        DeriveDataTypeable,
                     ForeignFunctionInterface,
                     RecordWildCards,
                     ScopedTypeVariables,
                     NamedFieldPuns,
                     StandaloneDeriving
  Build-depends:     base >= 3 && < 6,
                     unix >= 2.3.2,
                     directory,
                     parsec >= 2.1.0.1,
                     random
  hs-source-dirs:    src
  C-Sources:         src/cbits/hsshellscript.c

  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  Build-tools:       c2hs >= 0.15.1