File: HsOpenSSL-x509-system.cabal

package info (click to toggle)
haskell-hsopenssl-x509-system 0.1.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 76 kB
  • sloc: haskell: 94; makefile: 4
file content (48 lines) | stat: -rw-r--r-- 1,777 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name:                HsOpenSSL-x509-system
version:             0.1.0.4
synopsis:            Use the system's native CA certificate store with HsOpenSSL
description:
  A cross-platform library that tries to find a (reasonable) CA certificate
  bundle that can be used with @HsOpenSSL@ to verify the certificates of
  remote peers.
  .
  This package is for @HsOpenSSL@ what @x509-system@ is for the @tls@ package.
  Additionally, it borrows some ideas from @x509-system@.
homepage:            https://github.com/redneb/HsOpenSSL-x509-system
bug-reports:         https://github.com/redneb/HsOpenSSL-x509-system/issues
license:             BSD3
license-file:        LICENSE
author:              Marios Titas <rednebΑΤgmxDΟΤcom>
maintainer:          Marios Titas <rednebΑΤgmxDΟΤcom>
category:            System, Filesystem
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:
  ChangeLog.md

source-repository head
  type: git
  location: https://github.com/redneb/HsOpenSSL-x509-system.git

library
  exposed-modules:     OpenSSL.X509.SystemStore
  build-depends:       base >=4.6 && <5,
                       HsOpenSSL ==0.11.*,
                       bytestring >=0.9 && <1
  if os(windows)
    other-modules:       OpenSSL.X509.SystemStore.Win32
    build-depends:       Win32 >=2.2 && <3
    extra-libraries:     Crypt32
    cpp-options:         -DCABAL_OS_WINDOWS
    build-tools:         hsc2hs
  else
    if os(OSX)
      other-modules:       OpenSSL.X509.SystemStore.MacOSX
      build-depends:       process >=1 && <2
      cpp-options:         -DCABAL_OS_MACOSX
    else
      other-modules:       OpenSSL.X509.SystemStore.Unix
      build-depends:       unix >=2.6 && <3
  default-language:    Haskell2010
  ghc-options:         -Wall