Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
998 B · 60 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ buildDunePackage, lib, fetchurl, uri, base64, digestif, logs, fmt, lwt, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, x509, yojson, ounit2, ptime, domain-name,}:
buildDunePackage rec { pname = "letsencrypt"; version = "1.1.0";
src = fetchurl { url = "https://github.com/mmaker/ocaml-letsencrypt/releases/download/v${version}/letsencrypt-${version}.tbz"; hash = "sha256-Iw55GffyG5tWA49hao1z9BX6p4N2+EKuhLIoOwG8EKM="; };
minimalOCamlVersion = "4.08";
buildInputs = [ fmt ptime domain-name ];
propagatedBuildInputs = [ logs yojson lwt base64 digestif mirage-crypto mirage-crypto-ec mirage-crypto-pk x509 uri ];
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"; };}