summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/letsencrypt/app.nix
blob: f24cafffed7630117b6a2eefb581dd89017dcbed (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
{
  buildDunePackage,
  letsencrypt,
  letsencrypt-dns,
  cmdliner,
  cohttp-lwt-unix,
  logs,
  fmt,
  lwt,
  mirage-crypto-rng,
  ptime,
  bos,
  fpath,
  randomconv,
}:

buildDunePackage {
  pname = "letsencrypt-app";
  minimalOCamlVersion = "4.08";

  inherit (letsencrypt)
    src
    version
    ;

  buildInputs = [
    letsencrypt
    letsencrypt-dns
    cmdliner
    cohttp-lwt-unix
    logs
    fmt
    lwt
    mirage-crypto-rng
    ptime
    bos
    fpath
    randomconv
  ];

  meta = letsencrypt.meta // {
    description = "ACME client implementation of the ACME protocol (RFC 8555) for OCaml";
    mainProgram = "oacmel";
  };
}