packages feed

file-embed-lzma-0: file-embed-lzma.cabal

cabal-version:       2.0
name:                file-embed-lzma
version:             0

synopsis:            Use Template Haskell to embed (LZMA compressed) data.
description:
  The @file-embed@ package let's embed file and dir contents.
  .
  This package is similar, but also compresses the embedded contents with LZMA.
  That makes resulting object files smaller, at the cost of start up decompression.
  .
  There's also an 'embedRecursiveDir' function.

homepage:            https://github.com/phadej/file-embed-lzma
bug-reports:         https://github.com/phadej/file-embed-lzma/issues
license:             BSD3
license-file:        LICENSE
author:              Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:          Oleg.Grenrus <oleg.grenrus@iki.fi>
copyright:           (c) 2015-2018 Futurice, 2018 Oleg Grenrus
category:            Data
build-type:          Simple

extra-source-files:  ChangeLog.md example/example.txt

tested-with:
  GHC==7.8.4,
  GHC==7.10.3,
  GHC==8.0.2,
  GHC==8.2.2,
  GHC==8.4.1

source-repository head
  type:      git
  location:  https://github.com/phadej/file-embed-lzma.git

library
  exposed-modules:
    FileEmbedLzma

  -- GHC boot libraries
  build-depends:
      base              >=4.7      && <4.12
    , base-compat       >=0.9.3    && <0.10
    , template-haskell  >=2.9      && <2.14
    , bytestring        >=0.10.4.0 && <0.11
    , transformers      >=0.3.0.0  && <0.6
    , directory         >=1.2.1.0  && <1.4
    , filepath          >=1.3.0.2  && <1.5
    , text              >=1.2.3.0  && <1.3

  -- non bundled dependencies
  build-depends:
      lzma              ^>=0.0.0.3
    , th-lift-instances ^>=0.1.11

  other-extensions:
    OverloadedStrings
    QuasiQuotes
    TemplateHaskell
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite example
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  main-is:             Example.hs
  hs-source-dirs:      example
  ghc-options:         -Wall
  build-depends:
    base, file-embed-lzma, bytestring