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