2018-11-05 11:21:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, angstrom, faraday, alcotest }:
|
2018-07-22 09:00:45 +02:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "httpaf";
|
2018-07-22 09:00:45 +02:00
|
|
|
version = "0.4.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inhabitedtype";
|
2018-11-05 11:21:46 +01:00
|
|
|
repo = pname;
|
2018-07-22 09:00:45 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517";
|
|
|
|
};
|
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildInputs = [ alcotest ];
|
2018-07-22 09:00:45 +02: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;
|
|
|
|
};
|
|
|
|
}
|