packages feed

fastcdc-0.0.0: fastcdc.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.7.
--
-- see: https://github.com/sol/hpack

name:           fastcdc
version:        0.0.0
synopsis:       An implementation of FastCDC, a content-defined chunking algorithm based on the Gear hash rolling hash algorithm
homepage:       https://github.com/gkleen/fastcdc#readme
bug-reports:    https://github.com/gkleen/fastcdc/issues
author:         Gregor Kleen
maintainer:     aethoago@141.li
copyright:      2022 Gregor Kleen
license:        BSD3
license-file:   LICENSE
build-type:     Simple

source-repository head
  type: git
  location: https://github.com/gkleen/fastcdc
  subdir: fastcdc

flag pedantic
  manual: True
  default: False

library
  exposed-modules:
      Data.Conduit.Algorithms.FastCDC
  other-modules:
      Paths_fastcdc
  hs-source-dirs:
      src
  default-extensions:
      NoImplicitPrelude
  other-extensions:
      BangPatterns
      PatternGuards
      RecordWildCards
      ScopedTypeVariables
      DeriveGeneric
      DeriveDataTypeable
  ghc-options: -Wall
  build-depends:
      base >=4.7 && <5
    , bv-little >=1.1 && <2
    , bytestring ==0.10.*
    , conduit ==1.3.*
    , gearhash >=0.0 && <2
  if flag(pedantic)
    ghc-options: -Werror
  default-language: Haskell2010

executable fastcdc
  main-is: Main.hs
  hs-source-dirs:
      fastcdc
  default-extensions:
      NoImplicitPrelude
  other-extensions:
      BangPatterns
      PatternGuards
      RecordWildCards
      ScopedTypeVariables
      DeriveGeneric
      DeriveDataTypeable
  ghc-options: -Wall
  build-depends:
      base >=4.7 && <5
    , bv-little >=1.1 && <2
    , bytestring ==0.10.*
    , conduit ==1.3.*
    , fastcdc
    , gearhash >=0.0 && <2
  if flag(pedantic)
    ghc-options: -Werror
  default-language: Haskell2010