packages feed

file-embed-lzma-0.1: file-embed-lzma.cabal

cabal-version:      2.0
name:               file-embed-lzma
version:            0.1
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 ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.6
   || ==9.8.2
   || ==9.10.1

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

library
  exposed-modules:
    FileEmbedLzma
    FileEmbedLzma.Untyped

  -- GHC boot libraries
  build-depends:
      base              >=4.15.1.0   && <4.21
    , bytestring        ^>=0.10.12.1 || ^>=0.11.1.0 || ^>=0.12.0.0
    , directory         ^>=1.3.3.0
    , filepath          ^>=1.4.2.1   || ^>=1.5.2.0
    , template-haskell  >=2.17.0.0   && <2.23
    , text              ^>=1.2.5.0   || ^>=2.0      || ^>=2.1
    , transformers      ^>=0.5.6.2   || ^>=0.6.1.0

  -- non bundled dependencies
  build-depends:    lzma ^>=0.0.1.1
  other-extensions:
    CPP
    OverloadedStrings
    TemplateHaskellQuotes

  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
    , bytestring
    , file-embed-lzma