packages feed

lz4-bytes-0.1.0.2: lz4-bytes.cabal

cabal-version: 2.2
name: lz4-bytes
version: 0.1.0.2
synopsis: Bindings to LZ4
description:
  This library is similar to the @lz4@ library except that it works
  with the @Bytes@ type from @byteslice@ rather than @ByteString@.
homepage: https://github.com/byteverse/lz4-bytes
bug-reports: https://github.com/byteverse/lz4-bytes/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2020 Andrew Martin
category: Data
build-type: Simple
extra-source-files:
  CHANGELOG.md
  cbits/lz4.h
  cbits/lz4hc.h

library
  exposed-modules:
    Lz4.Block
  build-depends:
    , base >=4.12 && <5
    , byteslice >=0.1.4 && <0.3
    , primitive >=0.7 && <0.8
    , run-st >=0.1.1 && <0.2
  hs-source-dirs: src
  default-language: Haskell2010
  include-dirs: cbits
  c-sources: cbits/lz4.c cbits/lz4hc.c cbits/hs_lz4.c

test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  ghc-options: -Wall -O2
  build-depends:
    , base >=4.11.1 && <5
    , byteslice
    , lz4-bytes
    , primitive
    , tasty
    , tasty-quickcheck