* ocamlPackages.x509: 0.14.1 -> 0.15.2 https://github.com/mirleft/ocaml-x509/releases/tag/v0.15.0 https://github.com/mirleft/ocaml-x509/releases/tag/v0.15.1 https://github.com/mirleft/ocaml-x509/releases/tag/v0.15.2 * ocamlPackages.awa*: 0.0.4 -> 0.0.5 https://github.com/mirage/awa-ssh/releases/tag/v0.0.5 * ocamlPackages.tls*: 0.14.1 -> 0.15.2 https://github.com/mirleft/ocaml-tls/releases/tag/v0.15.0 https://github.com/mirleft/ocaml-tls/releases/tag/v0.15.1 https://github.com/mirleft/ocaml-tls/releases/tag/v0.15.2 * jackline: unstable-2021-08-10 -> unstable-2021-12-28 * ocamlPackages.ca-certs-nss: 3.66 -> 3.71.0.1 https://github.com/mirage/ca-certs-nss/releases/tag/v3.71 https://github.com/mirage/ca-certs-nss/releases/tag/v3.71.0.1 * ocamlPackages.conduit*: 4.0.1 -> 4.0.2 https://github.com/mirage/ocaml-conduit/releases/tag/v4.0.2 * ocamlPackages.letsencrypt*: 0.3.0 -> 0.4.1 https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.4.0 https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.4.1 * ocamlPackages.paf: 0.0.5 -> 0.0.6 https://github.com/dinosaure/paf-le-chien/releases/tag/0.0.6
64 lines
1 KiB
Nix
64 lines
1 KiB
Nix
{ buildDunePackage
|
|
, lib
|
|
, fetchurl
|
|
, asn1-combinators
|
|
, uri
|
|
, base64
|
|
, logs
|
|
, fmt
|
|
, lwt
|
|
, mirage-crypto
|
|
, mirage-crypto-ec
|
|
, mirage-crypto-pk
|
|
, mirage-crypto-rng
|
|
, x509
|
|
, yojson
|
|
, ounit
|
|
, ptime
|
|
, domain-name
|
|
, cstruct
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "letsencrypt";
|
|
version = "0.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mmaker/ocaml-letsencrypt/releases/download/v${version}/letsencrypt-v${version}.tbz";
|
|
sha256 = "f90875f5c9bdcab4c8be5ec7ebe9ea763030fa708e02857300996bb16e7c2070";
|
|
};
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
useDune2 = true;
|
|
|
|
buildInputs = [
|
|
fmt
|
|
ptime
|
|
domain-name
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
logs
|
|
yojson
|
|
lwt
|
|
base64
|
|
mirage-crypto
|
|
mirage-crypto-ec
|
|
mirage-crypto-pk
|
|
asn1-combinators
|
|
x509
|
|
uri
|
|
cstruct
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = {
|
|
description = "ACME implementation in OCaml";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
homepage = "https://github.com/mmaker/ocaml-letsencrypt";
|
|
};
|
|
}
|