2021-04-26 19:14:03 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, 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";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "0.5.0";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
|
2023-04-12 12:48:02 +00:00
|
|
|
hash = "sha256-oWRvwb8DhtF3ltWaZ6moKmgadFUngruo1UOIaGNV/oM=";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
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-09-22 12:36:57 +00:00
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-04-26 19:14:03 +00:00
|
|
|
lwt
|
|
|
|
logs
|
|
|
|
fmt
|
|
|
|
mirage-crypto-rng
|
|
|
|
mirage-time-unix
|
|
|
|
ptime
|
|
|
|
uri
|
|
|
|
alcotest-lwt
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-04-26 19:14:03 +00:00
|
|
|
meta = {
|
|
|
|
description = "HTTP/AF and MirageOS";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
|
|
homepage = "https://github.com/dinosaure/paf-le-chien";
|
|
|
|
};
|
|
|
|
}
|