packages feed

hsshellscript-3.5.0: hsshellscript.cabal

Name:                hsshellscript
Version:             3.5.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:          post@volker-wysk.de
Copyright:           (c)2021 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:       2.0

Library
  Exposed-Modules:    HsShellScript
                      HsShellScript.Args
                      HsShellScript.Paths
                      HsShellScript.Shell
  Other-Modules:      HsShellScript.Commands
                      HsShellScript.GetOpt
                      HsShellScript.Misc
                      HsShellScript.ProcErr
  Default-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    XXX
  -- https://cabal.readthedocs.io/en/3.4/cabal-package.html#pkg-field-build-tool-depends
  Build-tool-depends: c2hs:c2hs >= 0.15.1
 
  default-language:   Haskell2010