packages feed

hw-tar-0.0.0.1: hw-tar.cabal

cabal-version: 2.4

name:                   hw-tar
version:                0.0.0.1
synopsis:               Library for creating and extracting tar archives
description:            Library for creating and extracting tar archives.
homepage:               https://github.com/haskell-works/hw-tar
license:                BSD-3-Clause
license-file:           LICENSE
author:                 John Ky
maintainer:             newhoggy@gmail.com
copyright:              2016 - 2019 John Ky
category:               Codec
tested-with:            GHC == 8.10.4, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4
extra-source-files:     CHANGELOG.md

source-repository head
  type:                 git
  location:             https://github.com/haskell-works/hw-tar

common base                 { build-depends: base                 >= 4.7        && < 5      }

common hedgehog             { build-depends: hedgehog             >= 1.0        && < 1.1    }
common hspec                { build-depends: hspec                >= 2.4        && < 3      }
common hw-hedgehog          { build-depends: hw-hedgehog          >= 0.1.0.3    && < 0.2    }
common hw-hspec-hedgehog    { build-depends: hw-hspec-hedgehog    >= 0.1.0.4    && < 0.2    }
common process              { build-depends: process              >= 1.6.5.0    && < 1.7    }

common config
  default-language:       Haskell2010

library
  import:   base, config
  exposed-modules:        HaskellWorks.Tar
  hs-source-dirs:         src
  default-language:       Haskell2010

executable hw-tar
  import:   base, config
  main-is:                Main.hs
  build-depends:          hw-tar
  hs-source-dirs:         app
  default-language:       Haskell2010

test-suite hw-tar-test
  import:   base, config
          , hedgehog
          , hspec
          , hw-hedgehog
          , hw-hspec-hedgehog
          , process
  type:                   exitcode-stdio-1.0
  ghc-options:            -threaded -rtsopts -with-rtsopts=-N
  main-is:                Spec.hs
  build-depends:          hw-tar
  hs-source-dirs:         test
  build-tool-depends:     hspec-discover:hspec-discover
  other-modules:          HaskellWorks.Tar.TarSpec