Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 55 lines 677 B view raw
1{ lib 2, buildDunePackage 3, paf 4, cohttp-lwt 5, domain-name 6, httpaf 7, ipaddr 8, alcotest-lwt 9, fmt 10, logs 11, mirage-crypto-rng 12, mirage-time-unix 13, tcpip 14, uri 15, lwt 16, astring 17}: 18 19buildDunePackage { 20 pname = "paf-cohttp"; 21 22 inherit (paf) 23 version 24 src 25 ; 26 27 duneVersion = "3"; 28 29 propagatedBuildInputs = [ 30 paf 31 cohttp-lwt 32 domain-name 33 httpaf 34 ipaddr 35 ]; 36 37 doCheck = true; 38 checkInputs = [ 39 alcotest-lwt 40 fmt 41 logs 42 mirage-crypto-rng 43 mirage-time-unix 44 tcpip 45 uri 46 lwt 47 astring 48 ]; 49 50 __darwinAllowLocalNetworking = true; 51 52 meta = paf.meta // { 53 description = "A CoHTTP client with its HTTP/AF implementation"; 54 }; 55}