packages feed

hascar-0.2.2.1: hascar.cabal

name:                hascar
version:             0.2.2.1
synopsis:            Decompress SAPCAR archives
description:         Decompressor command line utility and library for SAP's SAPCAR format.
homepage:            https://github.com/VirtualForgeGmbH/hascar
license:             GPL-2
license-file:        LICENSE
author:              Hans-Christian Esperer <hc@hcesperer.org>
maintainer:          Hans-Christian Esperer <hc@hcesperer.org>
copyright:           2015-2018, Virtual Forge GmbH
category:            Codec
build-type:          Simple
extra-source-files:  README.md changelog.md test/test6.sar
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Codec.Archive.SAPCAR
                     , Codec.Archive.SAPCAR.FlatedFile
                     , Codec.Archive.SAPCAR.Pat
  other-modules:       Codec.Archive.SAPCAR.BitStream
                     , Codec.Archive.SAPCAR.CanonicalHuffmanTree
                     , Codec.Archive.SAPCAR.FlexibleUtils
  build-depends:       base >= 4.7 && < 5
                     , array
                     , binary
                     , bytestring
                     , containers
                     , conduit
                     , exceptions
                     , mtl
                     , path
                     , text
                     , time
  default-language:    Haskell2010

executable hascar
  hs-source-dirs:      app
  main-is:             Main.hs
  other-modules:       GPL
                     , Options
  ghc-options:         -rtsopts
  build-depends:       base
                     , ansi-wl-pprint
                     , binary
                     , bytestring
                     , conduit
                     , directory
                     , exceptions
                     , filepath
                     , gitrev
                     , hascar
                     , optparse-applicative
                     , path
                     , text
                     , transformers
  if !os(windows)
    build-depends:     unix
  default-language:    Haskell2010

test-suite hascar-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , bytestring
                     , conduit
                     , cryptohash
                     , hascar
                     , hex
                     , path
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/VirtualForgeGmbH/hascar.git