cabal-version: 2.0

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           libsecp256k1
version:        0.0.1
synopsis:       Bindings for secp256k1
description:    Sign and verify signatures using the secp256k1 library.
category:       Crypto
homepage:       http://github.com/ProofOfKeags/secp256k1-haskell#readme
bug-reports:    https://github.com/ProofOfKeags/libsecp256k1-haskell.git/issues
author:         Keagan McClelland
maintainer:     keagan.mcclelland@gmail.com
copyright:      (c) 2017 Jean-Pierre Rupp; (c) 2020 Haskoin Developers; (c) 2022 Keagan McClelland
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
  type: git
  location: https://github.com/ProofOfKeags/libsecp256k1-haskell.git

library
  exposed-modules:
      Crypto.Secp256k1
      Crypto.Secp256k1.Internal
      Crypto.Secp256k1.Prim
      Paths_libsecp256k1
  autogen-modules:
      Paths_libsecp256k1
  hs-source-dirs:
      src
  pkgconfig-depends:
      libsecp256k1
  build-depends:
      base >=4.9 && <5
    , bytestring >=0.10.8 && <0.12
    , cryptonite
    , memory
    , transformers
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Crypto.Secp256k1.PrimSpec
      Crypto.Secp256k1Spec
      Paths_libsecp256k1
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit
    , base >=4.9 && <5
    , bytestring >=0.10.8 && <0.12
    , cryptonite
    , hspec
    , memory
    , monad-par
    , mtl
    , secp256k1-haskell
    , transformers
  default-language: Haskell2010
  build-tool-depends: hspec-discover:hspec-discover