Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 63 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ 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 ]; };}