2021-04-25 16:17:54 +01:00
|
|
|
{ buildDunePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, mirage-stack
|
|
|
|
, mirage-time
|
2021-05-11 05:54:15 +01:00
|
|
|
, h2
|
2021-04-25 16:17:54 +01: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
|
2021-09-29 13:28:09 +01:00
|
|
|
, cstruct
|
2021-04-25 16:17:54 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "paf";
|
2021-09-29 13:28:09 +01:00
|
|
|
version = "0.0.5";
|
2021-04-25 16:17:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
|
2021-09-29 13:28:09 +01:00
|
|
|
sha256 = "e85a018046eb062d2399fdbe8d9d3400a4d5cd51bb62840446503f557c3eeff1";
|
2021-04-25 16:17:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mirage-stack
|
|
|
|
mirage-time
|
2021-05-11 05:54:15 +01:00
|
|
|
h2
|
2021-04-25 16:17:54 +01:00
|
|
|
tls-mirage
|
|
|
|
mimic
|
|
|
|
cohttp-lwt
|
|
|
|
letsencrypt
|
|
|
|
emile
|
|
|
|
ke
|
|
|
|
bigstringaf
|
|
|
|
domain-name
|
|
|
|
ipaddr
|
|
|
|
duration
|
|
|
|
faraday
|
|
|
|
tls
|
|
|
|
x509
|
2021-09-29 13:28:09 +01:00
|
|
|
cstruct
|
2021-04-25 16:17:54 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|