packages feed

cityhash-0.0.2: cityhash.cabal

name:                cityhash
version:             0.0.2
synopsis:            bindings to Google CityHash
description:
  This package implements a binding to the google CityHash family of hashing functions.
  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:             BSD3
license-file:        LICENSE
author:              Austin Seipp
maintainer:          as@hacks.yi.org
category:            Codec
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:
  cbits/city.cc, cbits/city.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.0
  c-sources:       cbits/city.cc, cbits/hs_city.cc
  include-dirs:    cbits
  extra-libraries: stdc++

  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.*,
    QuickCheck     == 2.4.*,
    test-framework == 0.3.*,
    test-framework-quickcheck2 == 0.2.*,
    cityhash

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