2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, angstrom, faraday, alcotest }:
|
2018-07-22 08:00:45 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "httpaf";
|
2018-07-22 08:00:45 +01:00
|
|
|
version = "0.4.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inhabitedtype";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2018-07-22 08:00:45 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517";
|
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ alcotest ];
|
2018-07-22 08:00:45 +01:00
|
|
|
propagatedBuildInputs = [ angstrom faraday ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A high-performance, memory-efficient, and scalable web server for OCaml";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|