2024-06-05 15:53:02 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2024-01-02 11:29:13 +00:00
|
|
|
, angstrom, faraday, result, alcotest
|
2020-11-21 19:51:51 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "httpaf";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "0.7.1";
|
2020-11-21 19:51:51 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inhabitedtype";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "0zk78af3qyvf6w66mg8sxygr6ndayzqw5s3zfxibvn121xwni26z";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2024-01-02 11:29:13 +00:00
|
|
|
propagatedBuildInputs = [ angstrom faraday result ];
|
2023-04-12 12:48:02 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "High-performance, memory-efficient, and scalable web server for OCaml";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|