summaryrefslogtreecommitdiff
path: root/acme-certify.cabal
blob: a191c2905ccd727fcd817b26d15529b9c7977541 (plain)
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:                acme-certify
version:             0.1.0.0
synopsis:            Get a certificate using Let's Encrypt ACME protocol
description:         Please see README.md
homepage:            https://github.com/afcady/acme
author:              Vo Minh Thu, Andrew Cady
maintainer:          noteed@gmail.com
copyright:           2016 Vo Minh Thu, Andrew Cady
category:            Web
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Network.ACME, Network.ACME.Encoding, Network.ACME.Issuer
  build-depends:       base >= 4.7 && < 5,
                       cryptonite, aeson, bytestring, base64-bytestring, SHA,
                       mtl, text, HsOpenSSL, wreq, lens, lens-aeson, time,
                       email-validate, pipes, directory, network-uri, errors,
                       resourcet, file-embed, http-conduit, connection
  default-language:    Haskell2010

executable acme
  -- hs-source-dirs:      app
  main-is:             acme-certify.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
  build-depends:       base, base-prelude, acme-certify,
                       cryptonite, aeson, bytestring, base64-bytestring, SHA,
                       text, HsOpenSSL, optparse-applicative, time,
                       email-validate, network-uri, directory, yaml-config,
                       yaml, unordered-containers, lens, lens-aeson, process,
                       posix-escape, transformers, resourcet, mtl, x509, pem,
                       asn1-types
  default-language:    Haskell2010

-- test-suite acme-certify-test
--   type:                exitcode-stdio-1.0
--   hs-source-dirs:      test
--   main-is:             Spec.hs
--   build-depends:       base
--                      , acme-certify
--   ghc-options:         -threaded -rtsopts -with-rtsopts=-N
--   default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/afcady/acme