packages feed

KyotoCabinet-0.1: KyotoCabinet.cabal

name: KyotoCabinet
version: 0.1
license: BSD3
license-file: COPYING
cabal-version: >= 1.4
copyright: (c) 2011 Warren Harris, (c) 2011 Google Inc.
author: Warren Harris <warrenharris@google.com>
maintainer: Warren Harris <warrenharris@google.com>
stability: alpha
synopsis: Kyoto Cabinet DB bindings
description:
    Kyoto Cabinet is a library of routines for managing a
    database. The database is a simple data file containing records,
    each is a pair of a key and a value. Every key and value is serial
    bytes with variable length. Both binary data and character string
    can be used as a key and a value. Each key must be unique within a
    database. There is neither concept of data tables nor data
    types. Records are organized in hash table or B+ tree.
    .
    Kyoto Cabinet runs very fast. For example, elapsed time to store
    one million records is 0.9 seconds for hash database, and 1.1
    seconds for B+ tree database. Moreover, the size of database is
    very small. For example, overhead for a record is 16 bytes for
    hash database, and 4 bytes for B+ tree database. Furthermore,
    scalability of Kyoto Cabinet is great. The database size can be up
    to 8EB (9.22e18 bytes).
    .
    Kyoto Cabinet is written in the C++ language, and provided as API
    of C++, C, Java, Python, Ruby, Perl, Lua and Haskell. Kyoto Cabinet is
    available on platforms which have API conforming to C++03 with the
    TR1 library extensions. Kyoto Cabinet is a free software licensed
    under the GNU General Public License. On the other hand, a
    commercial license is also provided. If you use Kyoto Cabinet
    within a proprietary software, the commercial license is required.
    .
    Kyoto Cabinet home page:
    <http://fallabs.com/kyotocabinet/>

category: Database
homepage: https://code.google.com/p/kyotocabinet-hs/
build-type: Simple
extra-source-files:
    examples/kclangcex.hs

Library
    exposed-modules: Database.KyotoCabinet.Db

    build-depends: base >= 3 && < 5,
                   extensible-exceptions,
                   bytestring >= 0.9
    include-dirs:  Database/KyotoCabinet/
    extra-libraries: kyotocabinet
    ghc-options:   -Wall
    c-sources:     Database/KyotoCabinet/kc_hs.c