packages feed

cityhash-0.2.0.0: cityhash.cabal

name:                cityhash
version:             0.2.0.0
synopsis:            Bindings to CityHash
description:
  This package implements a binding to the CityHash family of hashing functions (implemented in C++.)
  .
  See <http://code.google.com/p/cityhash/> for more information.
homepage:            http://github.com/thoughtpolice/hs-cityhash
bug-reports:         https://github.com/thoughtpolice/hs-cityhash/issues
license:             MIT
license-file:        LICENSE.txt
author:              Austin Seipp <mad.one@gmail.com>
maintainer:          Austin Seipp <mad.one@gmail.com>
category:            Codec
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC==7.0.4, GHC==7.2.1

extra-source-files:
  cbits/city.cc, cbits/city.h, cbits/config.h
  cbits/hs_city.cc, cbits/hs_city.h,
  README.md, tests/Properties.hs

source-repository head
  type: git
  location: https://github.com/thoughtpolice/hs-cityhash.git

library
  exposed-modules: Data.Digest.CityHash
  build-depends:
    base       >= 3 && < 5,
    bytestring >= 0.9,
    largeword  >= 1.0
  c-sources:       cbits/city.cc, cbits/hs_city.cc
  include-dirs:    cbits
  extra-libraries: stdc++

  cc-options:       -O3
  ghc-options:      -Wall -O2 -fwarn-tabs
  default-language: Haskell98

test-suite properties
  hs-source-dirs: tests
  main-is:        Properties.hs
  type:           exitcode-stdio-1.0

  build-depends:
    base           >= 3 && < 5,
    bytestring     >= 0.9,
    largeword      >= 1.0,
    QuickCheck     >= 2.4,
    test-framework >= 0.5,
    test-framework-quickcheck2 >= 0.2,
    cityhash

  ghc-options:      -fno-cse -fno-warn-orphans
  default-language: Haskell98