packages feed

secp256k1-0.1.9: secp256k1.cabal

name:                secp256k1
version:             0.1.9
synopsis:            secp256k1 bindings for Haskell
description:         Please see README.md
homepage:            http://github.com/haskoin/secp256k1#readme
license:             MIT
license-file:        COPYING
author:              Pieter Wuille
maintainer:          root@haskoin.com
copyright:           (c) 2013 Pieter Wuille
category:            Crypto
build-type:          Configure
extra-source-files:
    configure.ac
    autogen.sh
    libsecp256k1.pc.in
    Makefile.am
    README.md
    TODO
    build-aux/m4/ax_prog_cc_for_build.m4
    build-aux/m4/bitcoin_secp.m4
    src/field_impl.h
    src/field.h
    src/scalar_impl.h
    src/ecmult_gen.h
    src/scalar_4x64_impl.h
    src/field_5x52_int128_impl.h
    src/eckey_impl.h
    src/testrand_impl.h
    src/testrand.h
    src/scalar_8x32.h
    src/eckey.h
    src/hash.h
    src/field_5x52_impl.h
    src/ecmult_const_impl.h
    src/field_5x52_asm_impl.h
    src/scalar_4x64.h
    src/num_gmp.h
    src/modules/schnorr/schnorr.h
    src/modules/schnorr/tests_impl.h
    src/modules/schnorr/main_impl.h
    src/modules/schnorr/schnorr_impl.h
    src/modules/recovery/tests_impl.h
    src/modules/recovery/main_impl.h
    src/modules/ecdh/tests_impl.h
    src/modules/ecdh/main_impl.h
    src/bench.h
    src/ecdsa_impl.h
    src/field_10x26.h
    src/group_impl.h
    src/ecmult_impl.h
    src/hash_impl.h
    src/field_10x26_impl.h
    src/field_5x52.h
    src/num_impl.h
    src/ecmult_gen_impl.h
    src/ecdsa.h
    src/group.h
    src/num.h
    src/util.h
    src/num_gmp_impl.h
    src/ecmult_const.h
    src/basic-config.h
    src/scalar.h
    src/scalar_8x32_impl.h
    src/ecmult.h
    include/secp256k1_recovery.h
    include/secp256k1_schnorr.h
    include/secp256k1.h
    include/secp256k1_ecdh.h
cabal-version:       >=1.10

library
    hs-source-dirs:      haskell/src
    exposed-modules:     Crypto.Secp256k1
                       , Crypto.Secp256k1.Internal
    build-depends:       base >= 4.8 && < 5
                       , QuickCheck
                       , bytestring
                       , mtl
                       , entropy
                       , string-conversions
                       , base16-bytestring
    default-language:    Haskell2010
    ghc-options:         -Wall
    cc-options:          -DHAVE_CONFIG_H
    c-sources:           src/secp256k1.c
    include-dirs:        .

test-suite secp256k1-test
    type:                exitcode-stdio-1.0
    hs-source-dirs:      haskell/test
    main-is:             Spec.hs
    other-modules:       Crypto.Secp256k1.Tests
                       , Crypto.Secp256k1.Internal.Tests
    build-depends:       base
                       , secp256k1
                       , HUnit
                       , QuickCheck
                       , test-framework
                       , test-framework-hunit
                       , test-framework-quickcheck2
                       , base16-bytestring
                       , cryptohash
                       , bytestring
                       , mtl
                       , entropy
    ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
    default-language:    Haskell2010

source-repository head
    type:     git
    location: https://github.com/haskoin/secp256k1