Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 29 lines 691 B view raw
1{ lib, fetchFromGitHub, fetchpatch, buildDunePackage 2, angstrom, faraday, alcotest 3}: 4 5buildDunePackage rec { 6 pname = "httpaf"; 7 version = "0.7.1"; 8 9 duneVersion = "3"; 10 minimalOCamlVersion = "4.08"; 11 12 src = fetchFromGitHub { 13 owner = "inhabitedtype"; 14 repo = pname; 15 rev = version; 16 sha256 = "0zk78af3qyvf6w66mg8sxygr6ndayzqw5s3zfxibvn121xwni26z"; 17 }; 18 19 checkInputs = [ alcotest ]; 20 propagatedBuildInputs = [ angstrom faraday ]; 21 doCheck = true; 22 23 meta = { 24 description = "A high-performance, memory-efficient, and scalable web server for OCaml"; 25 license = lib.licenses.bsd3; 26 maintainers = [ lib.maintainers.vbgl ]; 27 inherit (src.meta) homepage; 28 }; 29}