fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib, sexplib, conduit,
2 stringext, base64, magic-mime, ounit, alcotest, lwt ? null,
3 async ? null, async_ssl ? null}:
4
5buildOcaml rec {
6 name = "cohttp";
7 version = "0.19.3";
8
9 minimumSupportedOcamlVersion = "4.02";
10
11 src = fetchurl {
12 url = "https://github.com/mirage/ocaml-cohttp/archive/v${version}.tar.gz";
13 sha256 = "1nrzpd4h52c1hnzcgsz462676saj9zss708ng001h54dglk8i1iv";
14 };
15
16 buildInputs = [ alcotest ];
17 propagatedBuildInputs = [ cmdliner re uri fieldslib sexplib sexplib
18 conduit stringext base64 magic-mime ounit async
19 async_ssl lwt ];
20
21 buildFlags = "PREFIX=$(out)";
22
23 meta = with stdenv.lib; {
24 homepage = https://github.com/mirage/ocaml-cohttp;
25 description = "Very lightweight HTTP server using Lwt or Async";
26 license = licenses.mit;
27 maintainers = [ maintainers.ericbmerritt ];
28 };
29}