1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00
nixpkgs/pkgs/development/ocaml-modules/httpaf/default.nix

25 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;
};
}