18 lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
19 "piaf is not available for OCaml ${ocaml.version}"
21 buildDunePackage rec {
28 url = "https://github.com/anmonteiro/piaf/releases/download/${version}/piaf-${version}.tbz";
29 hash = "sha256-AMO+ptGox33Bi7u/H0SaeCU88XORrRU3UbLof3EwcmU=";
33 substituteInPlace ./vendor/dune --replace "mrmime.prettym" "prettym"
36 propagatedBuildInputs = [
49 # Check fails with OpenSSL 3
53 description = "An HTTP library with HTTP/2 support written entirely in OCaml";
54 homepage = "https://github.com/anmonteiro/piaf";
55 license = lib.licenses.bsd3;
56 maintainers = with lib.maintainers; [ anmonteiro ];