packages feed

hashed-storage-0.3: hashed-storage.cabal

Name: hashed-storage
Version: 0.3
License: BSD3
Copyright: 2009 Petr Rockai <me@mornfall.net>
Author: Petr Rockai <me@mornfall.net>
Maintainer: Petr Rockai <me@mornfall.net>
Synopsis: Hashed file storage support code.
Description:
  Support code for reading and manipulating hashed file storage (where each
  file and directory is associated with a cryptographic hash, for
  corruption-resistant storage and fast comparisons).
  .
  The supported storage formats include darcs hashed pristine, a plain
  filesystem tree and an indexed plain tree (where the index maintains hashes
  of the plain files and directories).

Category: System
Build-Type: Custom
Cabal-Version: >=1.2

extra-source-files: Bundled/sha2.h

Library
    ghc-options: -Wall -O2
    ghc-prof-options: -prof -auto-all -O2

    Exposed-Modules:
        Storage.Hashed
        Storage.Hashed.AnchoredPath
        Storage.Hashed.Tree
        Storage.Hashed.Index
        Storage.Hashed.Diff
        Storage.Hashed.Monad

    Other-Modules:
        Storage.Hashed.Utils
        Storage.Hashed.Test

    Build-Depends: base, directory, filepath,
                   bytestring, bytestring-mmap,
                   zlib, lcs, binary, containers,
                   mtl, extensible-exceptions,
                   mmap

    other-modules: Bundled.SHA256
                   Bundled.Posix
    c-sources: Bundled/sha2.c

Executable hashed-storage-test
    ghc-options: -O2
    ghc-prof-options: -prof -auto-all -O2
    other-modules: Bundled.Posix
    c-sources: Bundled/sha2.c
    Main-Is: test.hs
    Build-Depends: HUnit, process >= 1.0.1