2021-04-26 19:14:03 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, mirage-stack
|
|
|
|
, mirage-time
|
|
|
|
, httpaf
|
2021-05-20 23:08:51 +00:00
|
|
|
, h2
|
2021-04-26 19:14:03 +00:00
|
|
|
, 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";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "0.0.3";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "a0bbb84b19e1f0255337fc4d7017f3ea3611b241746e391b11c1d8b1f5f30a2b";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mirage-stack
|
|
|
|
mirage-time
|
|
|
|
httpaf
|
2021-05-20 23:08:51 +00:00
|
|
|
h2
|
2021-04-26 19:14:03 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|