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
|
|
|
|
, ke
|
|
|
|
, bigstringaf
|
|
|
|
, faraday
|
|
|
|
, tls
|
|
|
|
, 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";
|
2022-01-23 20:24:16 +00:00
|
|
|
version = "0.0.8";
|
2021-04-25 16:17:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
|
2022-01-23 20:24:16 +00:00
|
|
|
sha256 = "CyIIV11G7oUPPHuhov52LP4Ih4pY6bcUApD23/9q39k=";
|
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
|
|
|
|
ke
|
|
|
|
bigstringaf
|
|
|
|
faraday
|
|
|
|
tls
|
2021-09-29 13:28:09 +01:00
|
|
|
cstruct
|
2022-01-23 20:24:16 +00:00
|
|
|
tcpip
|
2021-04-25 16:17:54 +01:00
|
|
|
];
|
|
|
|
|
2022-01-23 20:24:16 +00:00
|
|
|
doCheck = false;
|
2021-04-25 16:17:54 +01: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";
|
|
|
|
};
|
|
|
|
}
|