nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildDunePackage,
3 letsencrypt,
4 letsencrypt-dns,
5 cmdliner,
6 cohttp-lwt-unix,
7 logs,
8 fmt,
9 lwt,
10 mirage-crypto-rng,
11 ptime,
12 bos,
13 fpath,
14 randomconv,
15}:
16
17buildDunePackage {
18 pname = "letsencrypt-app";
19 minimalOCamlVersion = "4.08";
20
21 inherit (letsencrypt)
22 src
23 version
24 ;
25
26 buildInputs = [
27 letsencrypt
28 letsencrypt-dns
29 cmdliner
30 cohttp-lwt-unix
31 logs
32 fmt
33 lwt
34 mirage-crypto-rng
35 ptime
36 bos
37 fpath
38 randomconv
39 ];
40
41 meta = letsencrypt.meta // {
42 description = "ACME client implementation of the ACME protocol (RFC 8555) for OCaml";
43 mainProgram = "oacmel";
44 };
45}