forked from mirrors/nixpkgs
c1e83d738d
* ocamlPackages.cstruct: 6.0.0 -> 6.0.1 https://github.com/mirage/ocaml-cstruct/releases/tag/v6.0.1 * ocamlPackages.tls: 0.13.2 -> 0.14.1 * ocamlPackages.letsencrypt: 0.2.5 -> 0.3.0 ocamlPackages.letsencrypt-dns: init at 0.3.0 ocamlPackages.letsencrypt-app: init at 0.2.5 https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.3.0 * ocamlPackages.paf: 0.0.3 -> 0.0.5 ocamlPackages.paf-cohttp: init at 0.0.5 ocamlPackages.paf-le: init at 0.0.5 * ocamlPackages.conduit*: 4.0.0 -> 4.0.1 * ocamlPackages.git*: 3.4.0 -> 3.5.0 * ocamlPackages.{ipaddr, macaddr}: 5.1.0 -> 5.2.0 https://github.com/mirage/ocaml-ipaddr/releases/tag/v5.2.0 Co-Authored-By: TG ⊗ Θ <*@tg-x.net> * jackline: unstable-2021-04-23 -> unstable-2021-08-10 * ocamlPackages.mirage-block-combinators: patch for cstruct 6.0.0 The patch is a trivial search and replace of Cstruct.len -> Cstruct.length otherwise the build will fail due to deprecation warnings. * ocamlPackages.x509: 0.14.0 -> 0.14.1 Co-authored-by: TG ⊗ Θ <*@tg-x.net>
64 lines
1 KiB
Nix
64 lines
1 KiB
Nix
{ buildDunePackage
|
|
, lib
|
|
, fetchurl
|
|
, astring
|
|
, asn1-combinators
|
|
, uri
|
|
, rresult
|
|
, base64
|
|
, logs
|
|
, fmt
|
|
, lwt
|
|
, mirage-crypto
|
|
, mirage-crypto-pk
|
|
, mirage-crypto-rng
|
|
, x509
|
|
, yojson
|
|
, ounit
|
|
, ptime
|
|
, domain-name
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "letsencrypt";
|
|
version = "0.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mmaker/ocaml-letsencrypt/releases/download/v${version}/letsencrypt-v${version}.tbz";
|
|
sha256 = "8772b7e6dbda0559a03a7b23b75c1431d42ae09a154eefd64b4c7e23b8d92deb";
|
|
};
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
useDune2 = true;
|
|
|
|
buildInputs = [
|
|
fmt
|
|
ptime
|
|
domain-name
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
logs
|
|
yojson
|
|
lwt
|
|
base64
|
|
mirage-crypto
|
|
mirage-crypto-pk
|
|
asn1-combinators
|
|
x509
|
|
uri
|
|
rresult
|
|
astring
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|