Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildDunePackage
2, bigstringaf
3, faraday
4, fetchurl
5, lib
6, ke
7}:
8
9buildDunePackage rec {
10 pname = "gluten";
11 version = "0.3.0";
12
13 src = fetchurl {
14 url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
15 hash = "sha256-9jctX3G/nQJTGJ7ClSBEiXwxeu0GcT9N+EmPfLuSFOU=";
16 };
17
18 minimalOCamlVersion = "4.08";
19 duneVersion = "3";
20
21 propagatedBuildInputs = [
22 bigstringaf
23 faraday
24 ke
25 ];
26
27 doCheck = false; # No tests
28
29 meta = {
30 description = "An implementation of a platform specific runtime code for driving network libraries based on state machines, such as http/af, h2 and websocketaf";
31 license = lib.licenses.bsd3;
32 homepage = "https://github.com/anmonteiro/gluten";
33 maintainers = with lib.maintainers; [ anmonteiro ];
34 };
35}