packages feed

crypton-x509-system-1.10.1: crypton-x509-system.cabal

cabal-version:      >=1.10
name:               crypton-x509-system
version:            1.10.1
license:            BSD3
license-file:       LICENSE
copyright:          Vincent Hanquez <vincent@snarc.org>
maintainer:         Kazu Yamamoto <kazu@iij.ad.jp>
author:             Vincent Hanquez <vincent@snarc.org>
stability:          experimental
homepage:           https://github.com/kazu-yamamoto/crypton-certificate
synopsis:           Handle per-operating-system X.509 accessors and storage
description:
    System X.509 handling for accessing operating system dependents store and other storage methods

category:           Data
build-type:         Simple
extra-source-files: ChangeLog.md

source-repository head
    type:     git
    location: https://github.com/kazu-yamamoto/crypton-certificate
    subdir:   crypton-x509-system

library
    exposed-modules:
        System.X509
        System.X509.Common
        System.X509.Unix
        System.X509.MacOS

    default-language: Haskell2010
    ghc-options:      -Wall
    c-sources:        cbits/macos.c
    build-depends:
        base >=3 && <5,
        bytestring,
        mtl,
        containers,
        directory,
        filepath,
        crypton-x509 >=1.10 && <1.11,
        crypton-x509-store >=1.10.1 && <1.11

    if os(windows)
        exposed-modules: System.X509.Win32
        cpp-options:     -DWINDOWS
        c-sources:       cbits/win32.c
        extra-libraries: Crypt32

    if os(osx)
        cpp-options: -DMACOSX
        frameworks:  Security CoreFoundation