name:                hwk
version:             0.6
synopsis:            Commandline text processing with Haskell functions
description:
            A commandline tool for text processing with Haskell functions,
            complementing unix-style tools like awk, grep, and sed.
            'hwk' applies the function supplied on the commandline using 'hint'
            to lines of input and outputs the results.
homepage:            https://github.com/juhp/hwk
license:             MIT
license-file:        LICENSE
author:              Lukas Martinelli
maintainer:          Jens Petersen <juhpetersen@gmail.com>
copyright:           2016-2017 Lukas Martinelli,
                     2020-2021 Jens Petersen
category:            Development
build-type:          Simple
data-files:          Hwk.hs
extra-source-files:  install.sh
extra-doc-files:     README.md
                     ChangeLog.md
cabal-version:       1.18

source-repository head
  type:                git
  location:            https://github.com/juhp/hwk.git

executable hwk
  main-is:             Main.hs
  hs-source-dirs:      src
  autogen-modules:     Paths_hwk
  other-modules:       Paths_hwk
                       Common
                       Hwk.IO
                       Hwk.Types
  build-depends:       base <5,
                       directory >= 1.2.3.0,
                       extra,
                       filepath,
                       hint >= 0.8.0,
                       simple-cmd-args >= 0.1.2
  default-language:    Haskell2010
  ghc-options:         -Wall
  if impl(ghc >= 8.0)
    ghc-options:       -Wcompat
                       -Widentities
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wredundant-constraints
  if impl(ghc >= 8.2)
    ghc-options:       -fhide-source-paths
  if impl(ghc >= 8.4)
    ghc-options:       -Wmissing-export-lists
                       -Wpartial-fields