cabal-version:       2.2
-- Initial SecureHash-SHA3.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                SecureHash-SHA3

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- https://wiki.haskell.org/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.0.1

-- A short (one-line) description of the package.
synopsis:            simple static linked SHA3 using private symbols and the ref impl

-- A longer description of the package.
description: a self contained and linker friendly one stop shop for SHA3 kit based on the keccak reference impls

-- URL for the project homepage or repository.
homepage:            https://github.com/cartazio/securehash-sha3

-- The license under which the package is released.
license:             BSD-2-Clause

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Carter Tazio Schonwald

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          carter at wellposed dot com

-- A copyright notice.
-- copyright:

category:            System

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files: CHANGELOG.md
                    cbits/CTS_SHA3.h

-- Constraint on the version of Cabal needed to build this package.



library
  -- Modules exported by the library.
  exposed-modules:    Crypto.SecureHash.SHA3
                      , Crypto.SecureHash.SHA3.FFI

  -- Modules included in this library but not exported.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:

  -- Other library packages from which modules are imported.
  build-depends:      base >=4.3 && <4.13
                      ,bytestring >= 0.9 && < 0.11

  -- Directories containing source files.
  hs-source-dirs:      src

  -- Base language which the package is written in.
  default-language:    Haskell2010
  ghc-options:       -Wall -O2
  cc-options:        -Wall -O3
  include-dirs:      cbits