about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/gluten/default.nix
blob: 1c8b2597b2bbb24c2ff63d73852269d015b990db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ buildDunePackage
, bigstringaf
, faraday
, fetchurl
, lib
}:

buildDunePackage rec {
  pname = "gluten";
  version = "0.5.1";

  src = fetchurl {
    url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
    hash = "sha256-VZcbMFDRv+TVSXG05wUYxaWbTnBSa43RiVx9OesPnZY=";
  };

  minimalOCamlVersion = "4.08";

  propagatedBuildInputs = [
    bigstringaf
    faraday
  ];

  doCheck = false; # No tests

  meta = {
    description = "Implementation of a platform specific runtime code for driving network libraries based on state machines, such as http/af, h2 and websocketaf";
    license = lib.licenses.bsd3;
    homepage = "https://github.com/anmonteiro/gluten";
    maintainers = with lib.maintainers; [ anmonteiro ];
  };
}