summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/gluten/default.nix
blob: fb6f85b104879de637dd80a4d243589027417d89 (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
33
34
{ buildDunePackage
, bigstringaf
, faraday
, fetchurl
, lib
}:

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

  src = fetchurl {
    url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
    sha256 = "1pl0mpcprz8hmaiv28p7w51qfcx7s76zdkak0vm5cazbjl38nc46";
  };

  minimalOCamlVersion = "4.06";

  useDune2 = true;

  propagatedBuildInputs = [
    bigstringaf
    faraday
  ];

  doCheck = false; # No tests

  meta = {
    description = "An 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 ];
  };
}