]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/blob - fec.cabal
fec.c: add asserts for the preconditions that the inputs need to meet
[tahoe-lafs/zfec.git] / fec.cabal
1 name:            fec
2 version:         0.1.1
3 license:         GPL
4 license-file:    README.rst
5 author:          Adam Langley <agl@imperialviolet.org>
6 maintainer:      Adam Langley <agl@imperialviolet.org>
7 description:     This code, based on zfec by Zooko, based on code by Luigi
8                  Rizzo implements an erasure code, or forward error
9                  correction code. The most widely known example of an erasure
10                  code is the RAID-5 algorithm which makes it so that in the
11                  event of the loss of any one hard drive, the stored data can
12                  be completely recovered.  The algorithm in the zfec package
13                  has a similar effect, but instead of recovering from the loss
14                  of only a single element, it can be parameterized to choose in
15                  advance the number of elements whose loss it can tolerate.
16 build-type:      Simple
17 homepage:        http://allmydata.org/source/zfec
18 synopsis:        Forward error correction of ByteStrings
19 category:        Codec
20 build-depends:   base, bytestring>=0.9
21 stability:       provisional
22 tested-with:     GHC == 6.8.2
23 exposed-modules: Codec.FEC
24 extensions:      ForeignFunctionInterface
25 hs-source-dirs:  haskell
26 ghc-options:     -Wall
27 c-sources:       zfec/fec.c
28 cc-options:      -std=c99
29 include-dirs:    zfec
30 extra-source-files: zfec/fec.h, COPYING.GPL, COPYING.TGPPL.rst