mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-04 11:50:04 +00:00
ocamlPackages.dns: 10.2.5 → 10.2.6 ocamlPackages.letsencrypt: 2.1.0 → 2.1.1 ocamlPackages.tls: 2.1.2 → 2.1.3 ocamlPackages.httpcats: fix tests
47 lines
813 B
Nix
47 lines
813 B
Nix
{
|
|
buildDunePackage,
|
|
lib,
|
|
fetchurl,
|
|
jws,
|
|
lun,
|
|
logs,
|
|
fmt,
|
|
x509,
|
|
ounit2,
|
|
ptime,
|
|
domain-name,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "letsencrypt";
|
|
version = "2.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mmaker/ocaml-letsencrypt/releases/download/v${finalAttrs.version}/letsencrypt-${finalAttrs.version}.tbz";
|
|
hash = "sha256-jv/CxJFhqb4ouC7CvYMXHhVRmgpdlMPIwPYPAMt7Bts=";
|
|
};
|
|
|
|
buildInputs = [
|
|
fmt
|
|
ptime
|
|
domain-name
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
jws
|
|
logs
|
|
lun
|
|
x509
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit2 ];
|
|
|
|
meta = {
|
|
description = "ACME implementation in OCaml";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
homepage = "https://github.com/mmaker/ocaml-letsencrypt";
|
|
};
|
|
})
|