depot/third_party/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

32 lines
772 B
Nix

{ buildDunePackage
, bigstringaf
, faraday
, fetchurl
, lib
}:
buildDunePackage rec {
pname = "gluten";
version = "0.5.2";
src = fetchurl {
url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
hash = "sha256-se7Yn59ggLtL0onMjSUsa88B8D05Vybmb6YGcgfnAV8=";
};
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 ];
};
}