Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-04-26 18:14:28 +00:00
committed by GitHub
28 changed files with 370 additions and 130 deletions

View File

@@ -13,7 +13,7 @@ buildDunePackage rec {
sha256 = "0zkhn0rdq82g6gamsv6nkx6i44s8104nh6jg5xydazl9jl1704xn";
};
hardeningDisable = lib.optional stdenv.isDarwin "strictoverflow";
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
meta = with lib; {
homepage = "https://github.com/flowtype/ocaml-dtoa";

View File

@@ -0,0 +1,84 @@
{ buildDunePackage
, lib
, fetchurl
, astring
, asn1-combinators
, uri
, rresult
, base64
, cmdliner
, cohttp
, cohttp-lwt
, cohttp-lwt-unix
, zarith
, logs
, fmt
, lwt
, mirage-crypto
, mirage-crypto-pk
, mirage-crypto-rng
, x509
, yojson
, ounit
, dns
, dns-tsig
, ptime
, bos
, fpath
, randomconv
, domain-name
}:
buildDunePackage rec {
pname = "letsencrypt";
version = "0.2.4";
src = fetchurl {
url = "https://github.com/mmaker/ocaml-letsencrypt/releases/download/v${version}/letsencrypt-v${version}.tbz";
sha256 = "91c79828a50243804da29c17563c54d2d528a79207e5b874dce6a3e7fedf7567";
};
minimumOCamlVersion = "4.08";
useDune2 = true;
buildInputs = [
cmdliner
cohttp
cohttp-lwt-unix
zarith
fmt
mirage-crypto-rng
ptime
bos
fpath
randomconv
domain-name
];
propagatedBuildInputs = [
logs
yojson
lwt
base64
mirage-crypto
mirage-crypto-pk
asn1-combinators
x509
uri
dns
dns-tsig
rresult
astring
cohttp-lwt
];
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";
};
}

View File

@@ -7,11 +7,11 @@ buildDunePackage rec {
minimumOCamlVersion = "4.08";
pname = "mirage-crypto";
version = "0.10.0";
version = "0.10.1";
src = fetchurl {
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
sha256 = "20915c53ddb658c53f588c414f13676bc8ad3cd734d9ed909225ea080dd8144d";
sha256 = "028e2fc1f0a3e9b06603c6a253ecd043100099bc1c12c0567d8bc46d3781499c";
};
useDune2 = true;

View File

@@ -0,0 +1,82 @@
{ buildDunePackage
, lib
, fetchurl
, fetchpatch
, mirage-stack
, mirage-time
, httpaf
, tls-mirage
, mimic
, cohttp-lwt
, letsencrypt
, emile
, ke
, bigstringaf
, domain-name
, duration
, faraday
, ipaddr
, tls
, x509
, lwt
, logs
, fmt
, mirage-crypto-rng
, tcpip
, mirage-time-unix
, ptime
, uri
, alcotest-lwt
}:
buildDunePackage rec {
pname = "paf";
version = "0.0.1";
src = fetchurl {
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
sha256 = "7a794c21ce458bda302553b0f5ac128c067579fbb3b7b8fba9b410446c43e790";
};
useDune2 = true;
minimumOCamlVersion = "4.08";
propagatedBuildInputs = [
mirage-stack
mirage-time
httpaf
tls-mirage
mimic
cohttp-lwt
letsencrypt
emile
ke
bigstringaf
domain-name
ipaddr
duration
faraday
tls
x509
];
doCheck = true;
checkInputs = [
lwt
logs
fmt
mirage-crypto-rng
tcpip
mirage-time-unix
ptime
uri
alcotest-lwt
];
meta = {
description = "HTTP/AF and MirageOS";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/dinosaure/paf-le-chien";
};
}