Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
64 lines
1010 B
Nix
64 lines
1010 B
Nix
{
|
|
alcotest,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
eio-ssl,
|
|
faraday,
|
|
h2-eio,
|
|
httpun-eio,
|
|
httpun-ws,
|
|
ipaddr,
|
|
ke,
|
|
lib,
|
|
logs,
|
|
magic-mime,
|
|
pecu,
|
|
prettym,
|
|
unstrctrd,
|
|
uri,
|
|
uutf,
|
|
dune-site,
|
|
eio_main,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "piaf";
|
|
version = "0.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/anmonteiro/piaf/releases/download/${version}/piaf-${version}.tbz";
|
|
hash = "sha256-B/qQCaUvrqrm2GEW51AH9SebGFx7x8laq5RV8hBzcPs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
eio-ssl
|
|
faraday
|
|
h2-eio
|
|
httpun-eio
|
|
httpun-ws
|
|
ipaddr
|
|
logs
|
|
magic-mime
|
|
pecu
|
|
prettym
|
|
unstrctrd
|
|
uri
|
|
uutf
|
|
];
|
|
|
|
# Some test cases fail
|
|
doCheck = false;
|
|
checkInputs = [
|
|
alcotest
|
|
dune-site
|
|
eio_main
|
|
];
|
|
|
|
meta = {
|
|
description = "HTTP library with HTTP/2 support written entirely in OCaml";
|
|
homepage = "https://github.com/anmonteiro/piaf";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ anmonteiro ];
|
|
};
|
|
}
|