File: certificate.cabal

package info (click to toggle)
haskell-certificate 1.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 152 kB
  • sloc: haskell: 1,033; makefile: 2
file content (77 lines) | stat: -rw-r--r-- 2,474 bytes parent folder | download
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Name:                certificate
Version:             1.2.3
Description:
    Certificates and Key reader/writer
    .
    At the moment only X509 certificate and unencrypted private key are supported,
    but will include PGP certificate and pkcs8 private keys
License:             BSD3
License-file:        LICENSE
Copyright:           Vincent Hanquez <vincent@snarc.org>
Author:              Vincent Hanquez <vincent@snarc.org>
Maintainer:          Vincent Hanquez <vincent@snarc.org>
Synopsis:            Certificates and Key Reader/Writer
Build-Type:          Simple
Category:            Data
stability:           experimental
Homepage:            http://github.com/vincenthz/hs-certificate
Cabal-Version:       >=1.6

Flag test
  Description:       Build unit test
  Default:           False

Flag executable
  Description:       Build the executable
  Default:           False

Library
  Build-Depends:     base >= 3 && < 5
                   , bytestring
                   , mtl
                   , pem >= 0.1 && < 0.2
                   , asn1-data >= 0.6.1.3 && < 0.7
                   , crypto-pubkey-types >= 0.1 && < 0.2
                   , directory
                   , process
                   , time
  Exposed-modules:   Data.Certificate.X509
                     Data.Certificate.X509.Cert
                     Data.Certificate.X509.Ext
                     Data.Certificate.KeyDSA
                     Data.Certificate.KeyRSA
                     System.Certificate.X509
                     System.Certificate.X509.Unix
                     System.Certificate.X509.MacOS
  Other-modules:     Data.Certificate.X509.Internal
  ghc-options:       -Wall
  if os(windows)
     cpp-options: -DWINDOWS
     Build-Depends:  Win32
     Exposed-modules:  System.Certificate.X509.Win32
  if os(OSX)
     cpp-options: -DMACOSX

Executable           certificate
  Main-Is:           Certificate.hs
  if flag(executable)
    Buildable:       True
    Build-depends:   cmdargs
                   , text >= 0.11
                   , cryptohash
                   , cryptocipher >= 0.3.0
                   , directory
  else
    Buildable:       False

executable           Tests
  Main-is:           Tests.hs
  if flag(test)
    Buildable:       True
    Build-Depends:   base >= 3 && < 7, directory, HUnit, QuickCheck >= 2, bytestring
  else
    Buildable:       False

source-repository head
  type:     git
  location: git://github.com/vincenthz/hs-certificate