nixpkgs/pkgs/development/ocaml-modules/letsencrypt/app.nix
2023-01-12 17:56:25 +01:00

49 lines
681 B
Nix

{ lib
, buildDunePackage
, letsencrypt
, letsencrypt-dns
, cmdliner
, cohttp-lwt-unix
, logs
, fmt
, lwt
, mirage-crypto-rng
, ptime
, bos
, fpath
, randomconv
, cstruct
}:
buildDunePackage {
pname = "letsencrypt-app";
duneVersion = "3";
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
cstruct
];
meta = letsencrypt.meta // {
description = "An ACME client implementation of the ACME protocol (RFC 8555) for OCaml";
mainProgram = "oacmel";
};
}