Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 63 lines 1.0 kB view raw
1{ 2 alcotest, 3 buildDunePackage, 4 fetchurl, 5 eio-ssl, 6 faraday, 7 h2-eio, 8 httpun-eio, 9 httpun-ws, 10 ipaddr, 11 ke, 12 lib, 13 logs, 14 magic-mime, 15 pecu, 16 prettym, 17 unstrctrd, 18 uri, 19 uutf, 20 dune-site, 21 eio_main, 22}: 23 24buildDunePackage rec { 25 pname = "piaf"; 26 version = "0.2.0"; 27 28 src = fetchurl { 29 url = "https://github.com/anmonteiro/piaf/releases/download/${version}/piaf-${version}.tbz"; 30 hash = "sha256-B/qQCaUvrqrm2GEW51AH9SebGFx7x8laq5RV8hBzcPs="; 31 }; 32 33 propagatedBuildInputs = [ 34 eio-ssl 35 faraday 36 h2-eio 37 httpun-eio 38 httpun-ws 39 ipaddr 40 logs 41 magic-mime 42 pecu 43 prettym 44 unstrctrd 45 uri 46 uutf 47 ]; 48 49 # Some test cases fail 50 doCheck = false; 51 checkInputs = [ 52 alcotest 53 dune-site 54 eio_main 55 ]; 56 57 meta = { 58 description = "HTTP library with HTTP/2 support written entirely in OCaml"; 59 homepage = "https://github.com/anmonteiro/piaf"; 60 license = lib.licenses.bsd3; 61 maintainers = with lib.maintainers; [ anmonteiro ]; 62 }; 63}