depot/third_party/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

34 lines
798 B
Nix

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