24 lines
641 B
Nix
24 lines
641 B
Nix
{ stdenv, fetchFromGitHub, buildDunePackage, angstrom, faraday, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "httpaf";
|
|
version = "0.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "inhabitedtype";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517";
|
|
};
|
|
|
|
buildInputs = [ alcotest ];
|
|
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;
|
|
};
|
|
}
|