1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 bigstringaf,
6 hmap,
7 httpaf,
8 lwt,
9 sexplib0,
10}:
11
12buildDunePackage rec {
13 pname = "rock";
14 version = "0.20.0";
15 minimalOCamlVersion = "4.08";
16 duneVersion = "3";
17
18 src = fetchurl {
19 url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz";
20 hash = "sha256-MmuRhm3pC69TX4t9Sy/yPjnZUuVzwEs8E/EFS1n/L7Y=";
21 };
22
23 propagatedBuildInputs = [
24 bigstringaf
25 hmap
26 httpaf
27 lwt
28 sexplib0
29 ];
30
31 meta = {
32 description = "Minimalist framework to build extensible HTTP servers and clients";
33 homepage = "https://github.com/rgrinberg/opium";
34 license = lib.licenses.mit;
35 maintainers = [ lib.maintainers.vbgl ];
36 };
37
38}