packages feed

hspkcs11-0.3: hspkcs11.cabal

name:           hspkcs11
version:        0.3
synopsis:       Wrapper for PKCS #11 interface
description:    This package allows to call PKCS#11 provider libraries.  PKCS#11 is a C interface specification for cryptography providers, such as crypto tokens and HSMs
homepage:       https://github.com/denisenkom/hspkcs11
license:        MIT
license-file:   LICENSE
author:         Mikhail Denisenko
maintainer:     denisenkom@gmail.com
category:       Cryptography
build-type:     Simple
cabal-version:  >=1.10
extra-source-files: include/*.h

library
    build-tools:    c2hs
    build-depends:
        base < 4.10,
        unix,
        utf8-string,
        bytestring,
        RSA,
        crypto-api
    Include-dirs: include
    exposed-modules:
        System.Crypto.Pkcs11
    Default-language:  Haskell2010

executable pkcs11-tests
    build-tools:   c2hs
    main-is:            Test.hs
    Include-dirs: include
    other-modules:      System.Crypto.Pkcs11
    build-depends:
        base < 4.10,
        testpack,
        unix,
        utf8-string,
        bytestring,
        RSA,
        crypto-api,
        cprng-aes,
        cipher-aes
    default-language:   Haskell2010