2021-04-26 19:14:03 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, mirage-stack
|
|
|
|
, mirage-time
|
2021-05-20 23:08:51 +00:00
|
|
|
, h2
|
2021-04-26 19:14:03 +00:00
|
|
|
, tls-mirage
|
|
|
|
, mimic
|
|
|
|
, ke
|
|
|
|
, bigstringaf
|
|
|
|
, faraday
|
|
|
|
, tls
|
|
|
|
, lwt
|
|
|
|
, logs
|
|
|
|
, fmt
|
|
|
|
, mirage-crypto-rng
|
|
|
|
, tcpip
|
|
|
|
, mirage-time-unix
|
|
|
|
, ptime
|
|
|
|
, uri
|
|
|
|
, alcotest-lwt
|
2021-10-01 09:20:50 +00:00
|
|
|
, cstruct
|
2021-04-26 19:14:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "paf";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "0.0.8";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "CyIIV11G7oUPPHuhov52LP4Ih4pY6bcUApD23/9q39k=";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mirage-stack
|
|
|
|
mirage-time
|
2021-05-20 23:08:51 +00:00
|
|
|
h2
|
2021-04-26 19:14:03 +00:00
|
|
|
tls-mirage
|
|
|
|
mimic
|
|
|
|
ke
|
|
|
|
bigstringaf
|
|
|
|
faraday
|
|
|
|
tls
|
2021-10-01 09:20:50 +00:00
|
|
|
cstruct
|
2022-01-25 03:21:06 +00:00
|
|
|
tcpip
|
2021-04-26 19:14:03 +00:00
|
|
|
];
|
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
doCheck = false;
|
2021-04-26 19:14:03 +00:00
|
|
|
checkInputs = [
|
|
|
|
lwt
|
|
|
|
logs
|
|
|
|
fmt
|
|
|
|
mirage-crypto-rng
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|