depot/third_party/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
772 B
Nix

{ 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 ];
};
}